-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDLE: configdialog tab rearrange #84648
Comments
The proposed change to move some of the content in the "General" tab to a new tab. The need for this has been emphasised |
'Windows', not 'Window'. The indentation width should be moved to the Window page after being converted and reduced to a single line with a spinbox or maybe just an entry box. Indent spaces (standard 4) [ 4] # or I cannot imagine that anyone would ever want more than 8, certainly not 16. Note that there is another issue that will result in no longer using tabs instead of spaces in Shell, so that this will really be for both (all, including Output). There is at least one issue where this has been discussed, with the thought that something that most people should and will never change is now way too prominent. (My python development system with my list of issues is now being repaired. There has also been discussion about converting size to a spinbox. There is no particular reason for the particular presets.) The problem with General is that the items left other than Help are specific to either editor or shell. I think General with general window preferences and Help followed by Shell/Ed specifics might be a better division. |
Would it be helpful to move the additional help sources to the extensions page (and rename it to "Add-ins")? |
Since the help sources extend the Help menu, putting them under Extensions makes some sense. But I don't know how many people would think to look at the tab. But something to keep in mind. We can also ask for user opinions on idle-dev list. Notebooks can put tabs on any side. I found one side example. When done with General, there are issues about redoing Highlights and Keys pages, with one person's mockups. One problem with making changes has been divergent opinions. |
Initially, I simply changed the tab position on the settings window notebook to west-north (tabs_wn.png). I didn't like that the tabs were right-sticky and looked at changing this in the following two ways:
Are there any other ideas? If we do change the tab position, I think it would also be helpful to increase the font size to make them more obvious. On a separate point, would it be better for me to upload future screenshots to an image hosting site and just include the link in the descriptor message? |
Reflecting on bpo-41522, I decided that it would be best to work on this issue before going any further with that one (partly because it would require us to redo some of the work and also because this issue should have a higher priority). I have put together a demonstration which is mostly based on your comments on that issue (like before, I did the minimum required to make the window show). The exact list of (user-visible) changes is as follows: Fonts/Tabs:
I would also suggest, if there was a patch/PR for this issue, we split the "Extensions" page into its own class. I also think the "Keys" page would benefit from some work but I will not include that in this issue. |
Experiments are good, even if not accepted as is. The collage showing all pages at once is useful. I really want to spread the dialog horizontally a bit. The font sample could be wider. Colors and keys should have a uniform simplified theme/keyset selection box and other misc stuff on the left and a text or list box on the right. The cfg_highlight_alt.png and highlight3.png on bpo-24781 are similar except that the left selection box should only be as big as needed (default 3) and the text is now bigger. So other stuff, possibly revised, should likely be on the left. Most of the General entries can be shrunk to 50-60% of the current width, or else wrapped. Example:
Possible order of changes. bpo-31207: ExtPage class and tests At some point, list classes in configdialog and test_configdialog. docstring so know what names to search for to find them. There are several other configdialog issues to fix glitches or make small improvements here and there. |
See also issue bpo-33051. |
There are two immediate issues.
The Additional Help Source box takes up over 20% of the Notebook pane height. With it removed and all panes shortened, the problem on my screen and other at least as tall will be fixed. I am therefore adopting EP's idea of moving the Help menu extension to the Extensions tab. I think it fits there better than on the Font page or either split of the General tab. I am starting now to separate out a HelpSrc frame class in the code and a HelpSrcTest class in the test file. EP, coordinated help on this other dialog issue is welcome. |
The new PR moves the helplist. The extensions page looks much better. Not all of the helplist height is recovered. I believe this is because the Font/Tabs page and in particular the overly large indentation setting now determines height. (The other frames on the general page expanded a bit.) *33962 is about using a ttk spinbox here and I will do that tomorrow. |
PR-26618 wraps the extension functions in a new class, ExtPage, and then moves the new class after GenPage. I verified that replacing the indent slider with a spinbox results in the dialog being shorter by the full height of the helplist frame. I will do that (or use a plain entry box) when I move it Window Preferences, after splitting GenPage. |
Along with the spinbox PR for bpo-33962, I believe everything discussed here is done. There are still issues to improve specific pages. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: