GNOME Bugzilla – Bug 568923
Don't minimize active window if it's not topmost window (should work, but doesn't?)
Last modified: 2009-02-01 14:06:01 UTC
Clicking the window list button for the currently active window minimizes the window. This behavior should be made configurable. I never want to have a window minimized when clicking on the corresponding window list button. I would find a preferences option for the window list applet useful, but being able to control the option via the configuration editor would certainly suffice.
(In reply to comment #0) > Clicking the window list button for the currently active window minimizes the > window. This behavior should be made configurable. I never want to have a > window minimized when clicking on the corresponding window list button. What would you want to do then? Are you just clicking there by accident?
> What would you want to do then? Are you just clicking there by accident? I want to make the corresponding window the active window and/or bring it to the front. I tend to start applications in a specific order and use the window list to switch when the task switcher would require several keystrokes. Because I use "Focus follow mouse" the active window might not be the topmost window, and clicking the button minimizes, when I really want the window to become the topmost window. tasklist.c seems to specifically deal with this case, it just does not what I would need. I never minimize windows, but only switch between them. Therefore some way to achieve such behavior would be really welcome. Thanks.
(In reply to comment #2) > Because I use "Focus follow mouse" the active window might not be the topmost > window, and clicking the button minimizes, when I really want the window to > become the topmost window. tasklist.c seems to specifically deal with this > case, it just does not what I would need. Well, it should. That sounds more like a bug in this part than anything else. Let's just fix the bug instead of adding a pref.
Well, adjusting the behavior for active windows that are not topmost, would eliminate most of the pain, but I would still welcome the possibility to disable minimizing altogether. Anyway, I don't have much experience with C and only skimmed tasklist.c, on line #3684 is a comment that seems to refer to my use case, but might come to a different conclusion. I haven't checked what wnck_window_is_most_recently_activated() does, maybe the problem is with that method. Steps to reproduce: 1) Make sure "Select window when mouse moves over them" is ENABLED in Windows preferences and "Raise selected windows after interval" is DISABLED 2) Open Calculator (or any other app) 3) Open Character Map (or any other app) 4) Arrange the two windows that Calculator is partially hidden behind Character Map (see attached screen shot) 5) Hover the mouse over Calculator - it becomes the active window (as you can see in the attached screen shot) 6) Now hover the mouse over to the Calculator window list entry - you must take care not to hover over Character Map, the focus must not change 7) Click on the Calculator window list entry - Calculator is hidden which is clearly not what I want - it should become the topmost window
Created attachment 127164 [details] Use case Calculator is the active window, but not the topmost. Mouse is over the Calculator task button. When pressed, Calculator is minimized - it should be raised instead
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 90134 ***