Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting GTK Dialog default answers
#3
Rich, I'm on Xubuntu 22.04.1 now, but was on 20.04 up until a few months ago. I am using GIMP 2.10.32, but saw the menu changes back during the transition from 2.8 to 2.10. As far as GTK goes, I guess I just assumed that that was the transition from GTK2 to GTK3, but apparently see I was working from an incorrect assumption. (Was that the jump from GTK1 to 2???) I've had a number of other problems in the past with the GTK2 to 3 transition with other programs and I just assumed that that applied to GIMP as well since this is the Gimp Tool Kit! So thanks for setting me straight. And thanks for the link to the article. It is unfortunate that things move in these fits-and-jumps.

My query still remains. Is there any way to gain control over the menu button selection hierarchy?

Examples: Previously, on menus such as "Selective Gaussian Blur" or "Sharpen (Unsharp Mask)," the default button was OK so I just needed to simply hit Return to perform the function. Now the default button is Presets which forces me to either grab the mouse to execute the command, or type Shift-Tab before hitting Return.

Another case is when I directly edit JPG images and do not save an XCF version of the work. After exporting the revised JPG I want to close the GIMP tab (Ctrl-W). Previously the pop-up close window has the Discard Changes button active so, again, I could execute the desired command by hitting Return. Now, the active button is Cancel and I have to hit Tab to activate Discard Changes button before hitting Return.

What I'm looking for is a way to specify which button comes up as active so that I can immediately get the behavior I'm looking for 99% of the time without having to jump through hoops. I'm sure other people would want different default activations and if there is a way to control this with a setup file, everyone could get the behavior they like. Editing the code to rearrange the order in which the buttons on all these menus is defined would be a hopeless endeavor, as it would have to be done again and again for every point release. I'm hoping that GTK provides a way to do this.
Reply


Messages In This Thread
Setting GTK Dialog default answers - by cjsmall - 11-18-2022, 11:59 PM
RE: Setting GTK Dialog default answers - by cjsmall - 11-19-2022, 11:30 AM

Forum Jump: