Convert the groupings with check boxes in document formatting settings to checkable lists#10448
Convert the groupings with check boxes in document formatting settings to checkable lists#10448LeonarddeR wants to merge 7 commits into
Conversation
|
For anyone who reviews this, it might be easier to forget about the diff and just look at the makeSettings en onSave methods on DocumentFormattingPanel. The diff is very hard to read. |
|
Hello Some global comments on this PR: I agree that the document formatting panel needs to be simplified and that tabbing through all its elements is long. However I have listed some existing downside in this PR and in the conversion of all options in checkbox list:
This list is here only to be discussed and again, I agree however that document formatting settings panel nees to be simplified. |
Thanks for these!
This makes sense. I think we must be able to fix this.
We could consider leaving these as combo boxes.
I guess we can still decide this on a case per case basis. |
Hmm, splitting "Line indentation reporting" into two checkboxes isn't really a problem. But "Cell borders" … I'm not sure here. btw: "Font attributes" should get their own list with checkboxes for each attribute type (bold, italic, etc.). I'm not sure, if an issue for this feature request already exists, but it's in my head for many years, because it's useful for online shops (keyword: strikethrough price). Adding a new window for customization isn't user-friendly. And the row/columns headlines can be split into two checkboxes. A combo box with four entries isn't really required here too – in my opinion. |
This point has to be discussed in a separate issue however. Tis PR aims only to convert to checkbox list where possible, keeping the feature of existing panel. |
|
@CyrilleB79: I know. 😉 Maybe we only have to extent issue #6438. See also: Issue #1885 |
|
Getting to 2, would it be possible to create a treview to include this
as a radiobutton?
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
josephsl
left a comment
There was a problem hiding this comment.
Looks fine to me - created a private branch, merged in latest master, and reviewed the diff. Thanks.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
See in #9355 another proposal of ternary option that would have an impact on this PR if merged. |
|
if we really want to introduce more ternary options, I think a checkable list is just not suitable for document formatting options, or we should keep these as separate combo boxes. I don't share the concerns regarding the cell border options though. |
|
@LeonarddeR I agree that the cell border option example is disputable. I have never used these options nor heard of any example in real life where they would be used. However IMO, Line indentation reporting and graphics reporting (if implemented) options would remain clearer from UX point of view if they remain a combo-box and if a unique script is dedicated to toggle combo-box value. |
|
Your mention of unique scripts for options makes sense. If a script
exists to toggle a tristate value, it makes sense to follow that pattern
in the gui as well. I will revisit this pr in a while, but would be good
to know what @feerrenrut thinks about its priority. Though not strictly
a bug fix, I think this pr will take away a bit of the frustrations
people experience with this panel.
|
|
How about introducing a tree view with expandable and colapsable elements = groupings, something like in the input gestures dialog? In this case every option in the expanded grouping could have more states, i.e. you can change the state by pressing space bar on the option. NVDA would report the name of the option along with its currectly selected state when navigating through the tree view. That means the options with checkboxes would have to be changed and show the states "on" or "off" instead of a checkbox. Other options could show any other state like (tones) "tones and speech" etc. |
That would be an user experience like JAWS has. I think something like that would be more useful to have for the complete settings tree instead of only the document formatting settings. @feerrenrut What do you think about #10448 (comment) and surrounding comments? I'd like to bring this in a state in which you can review this. |
|
Would implementing a tree view like the one used for advanced folder options in Windows Explorer with checkboxes and radio buttons be acceptable here? IMO it eliminates all currently existing problems:
@LeonarddeR Wrote:
It looks like we do. See #10474 (comment) for an example. |
|
Hi, note that we also need to think about edit fields, checkable lists and others in other settings categories, along with allowing add-on authors to work with tree views which may come with custom controls. Thanks.
|
|
@LeonarddeR apologies for not providing feedback yet. I'm trying to work through bug fixes and "apparently ready to go" pull requests first. I hope you understand. Previously you have asked about priority of this. I agree there is definitely an opportunity to improve the UX of this panel, and a list could be extended to support filtering, sorting, an enable / disable all. But I don't think the current UX is so bad to need to put a priority on this.
I'm not sure what the specific question is, but here is what I think after reading those comments: In terms of "tri state" options, it might be worth investigating "list/table" types that allow an arbitrary control in a cell. Then the first column could contain a checkbox in some cases and a combobox in others? As per the description of the PR "Scaling issues, see #8635" don't worry about this here. Now I'm familiar with the problem I see it in lots of software on windows! Not ideal, but not a showstopper either. |
|
Given the fact that @feerrenrut pointed out that this doesn't have much priority yet, I'm abandoning this. |
|
From the description it seems like there were a few minor issues to fix on this PR, which someone is welcome to continue on. If I assume the main "itch to scratch" with this PR is to make it faster to toggle the one setting you are looking for (rather than explore what settings are available), then I think a filter would be the most user friendly way to achieve that. |
|
Hi, I think filtering is something we may need to look into after this PR is successfully merged, as there is a request to add broader settings search functionality. @derekriemer, do you still want to work on this later? Thanks.
|
|
hello all |
Link to issue number:
Cloes #8699
Summary of the issue:
The document formatting panel now contains a whole lot of check boxes. These are pretty difficult to navigate when not using accelerators.
Description of how this pull request fixes the issue:
Converted the groupings into checkable lists, resulting into much compacter code.
Testing performed:
Tested checking and unchecking the boxes and saving the settings.
Known issues with pull request:
Change log entry: