After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568923 - Don't minimize active window if it's not topmost window (should work, but doesn't?)
Don't minimize active window if it's not topmost window (should work, but doe...
Status: RESOLVED DUPLICATE of bug 90134
Product: libwnck
Classification: Core
Component: tasklist
2.22.x
Other Linux
: Normal enhancement
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-23 21:40 UTC by Marco Hunsicker
Modified: 2009-02-01 14:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Use case (463.17 KB, image/png)
2009-01-24 14:29 UTC, Marco Hunsicker
Details

Description Marco Hunsicker 2009-01-23 21:40:12 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.
Comment 1 Vincent Untz 2009-01-24 12:51:48 UTC
(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?
Comment 2 Marco Hunsicker 2009-01-24 13:26:39 UTC
> 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.
Comment 3 Vincent Untz 2009-01-24 13:45:17 UTC
(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.
Comment 4 Marco Hunsicker 2009-01-24 14:20:50 UTC
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
Comment 5 Marco Hunsicker 2009-01-24 14:29:33 UTC
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
Comment 6 Elijah Newren 2009-02-01 14:06:01 UTC
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 ***