Bug 340917 - Titlebar buttons and actions not responding right after changing focus by clicking titlebar
Summary: Titlebar buttons and actions not responding right after changing focus by cli...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.1.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://codereview.qt-project.org/#/c...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 09:50 UTC by Stephen Kim
Modified: 2015-01-19 11:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Kim 2014-11-13 09:50:25 UTC
In Breeze theme, right after changing focus to another window by mouse clicking its titlebar, the titlebar buttons does not respond to focus. That is, hovering mouse upon it doesn't show the focused animation (black circles appear around it). Also moving windows by dragging titlebar / resizing window by dragging resize handles does not work either.

By clicking anywhere on the window one more time I can gain focuses and actions again, so it does not break usability, but does cause minor inconveniences.

Maybe I should report this to 'plasmashell' category but Oxygen and Plastik themes are not affected by this, so I report to here. Also apologies if there's any duplicates.


Reproducible: Always

Steps to Reproduce:
1. Open 2 or more windows. Gain focus on one of them
2. Change focus to another window *by clicking its titlebar* (clicking its body may work but not as often)
3. Hover over min/max/close buttons or grab titlebar to move around, there will be no response
4. Click anywhere in the window once more and the response will be there

Actual Results:  
No 'mouse hover-on' animations on min/max/close buttons and inability to move/resize window with mouse
Comment 1 Stephen Kim 2014-11-13 09:54:12 UTC
Also discovered that just clicking any window titlebar (including the current focused one's) reproduce the same effect, and occasionally I should click multiple times elsewhere to make the problem disappear.
Comment 2 Lukáš Tinkl 2014-11-13 11:21:08 UTC
Confirmed, happens here as well (but not consistently)
Comment 3 Martin Flöser 2014-11-13 11:39:27 UTC
please note that using Breeze is not recommended due to among other this bug. This issue will be fixed with the introduction of KDecoration2. Until then I recommend to not use Breeze (or any other Aurorae theme).
Comment 4 Martin Flöser 2014-11-14 10:07:50 UTC
The problem might be address with Qt code review: https://codereview.qt-project.org/#/c/99587/4
Comment 5 Stephen Kim 2014-11-14 11:25:57 UTC
(In reply to Martin Gräßlin from comment #4)
> The problem might be address with Qt code review:
> https://codereview.qt-project.org/#/c/99587/4

Thank you for further informations, Graesslin! I've read your blog post.
Does this mean it is an internal bug in Qt or its XCB binding?
Comment 6 Martin Flöser 2014-11-14 15:08:55 UTC
> Does this mean it is an internal bug in Qt or its XCB binding?

The bug is most likely inside Qt. Given the code-review and the description it 
would explain the bug and would indicate it's inside the XCB plugin.

I haven't tested whether the change would fix it, but KDecoration2 will. In 
any case the next release of Plasma will probably have addressed this issue. 
I'm currently using KDecoration2 and this problem is clearly not present ;-)
Comment 7 Stephen Kim 2014-11-19 06:37:30 UTC
Gee, sorry for the late reply.
That is some great news. I was also often let down by the theming quality in KDE4, it was all too inconsistent and quirky. I really look forward to your KDecoration2 work, curious how it comes along with the new DWD plan ;) Thanks!
Comment 8 Hugo Pereira Da Costa 2015-01-19 09:11:54 UTC
So
Reassigning to Aurorae, right ?
Comment 9 Martin Flöser 2015-01-19 09:23:10 UTC
or just set to RESOLVED UPSTREAM ;-)