Bug 95692 - clicking another menubar fails to change focus
Summary: clicking another menubar fails to change focus
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: LO normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 125676 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-22 20:58 UTC by Benno Schulenberg
Modified: 2011-12-10 10:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benno Schulenberg 2004-12-22 20:58:21 UTC
Version:           unknown (using KDE 3.3.2, Gentoo)
Compiler:          gcc version 3.4.3 20041125 (Gentoo Hardened Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
OS:                Linux (i686) release 2.6.9

When clicking and releasing an item in the menubar of one window, and then clicking an item in a menubar of another window, this  will not transfer focus to that second window.

Open two KDE programs (any two will do), maximize them vertically, give the righthand one focus and foreground, leaving just a few centimetres visible of 
the lefthand window.  Now click and release an item in the righthand menubar, move the mouse to the left (several menus will appear and disappear), then click and release an item in the lefthand menubar.  Notice that the lefthand window did not get focus.  This is wrong.

Now move the mouse to the right again.  Several menus will appear and disappear while the mouse is over the righthand menubar, but these menus do not belong to this menubar but to the invisible part of the lefthand one.  This is confusing.

(When the top of the lefthand window is lowered and the above procedure is followed, the menus will unfold and fold apparently from nowhere, as long as the mouse is over the invisible part of the lefthand menubar.)

When Firefox is in the lefthand window, clicking something in its menubar will always transfer focus to it, and foreground it.  When it is Abiword on the left, clicking its menubar will transfer focus to it, but it will not be foregrounded.  For both of them, now clicking twice an item in the menubar of the righthand KDE program will foreground the window, but not give it focus.  Madness.
Comment 1 Thiago Macieira 2004-12-23 02:26:59 UTC
Confirmed, on HEAD 20041209.

Seli: is this something to be done in kwin? Or is it kdelibs?
Comment 2 lexual 2010-01-23 13:01:10 UTC
Confirming the above behaviour is still the same in kde 4.4 rc1
Not sure if it is bug or deliberate design choice.
Comment 3 Martin Flöser 2011-12-10 10:07:08 UTC
a menu grabs the mouse. Nothing we can do about it till Wayland
Comment 4 Martin Flöser 2011-12-10 10:38:13 UTC
*** Bug 125676 has been marked as a duplicate of this bug. ***