Bug 445724 - Window becomes inactive when a menu is opened
Summary: Window becomes inactive when a menu is opened
Status: RESOLVED WORKSFORME
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (other bugs)
Version First Reported In: 5.23.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-18 23:34 UTC by PhilipB
Modified: 2021-12-23 04:49 UTC (History)
2 users (show)

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


Attachments
focused visual state improperly triggered in window elements (743.43 KB, image/png)
2021-11-18 23:34 UTC, PhilipB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PhilipB 2021-11-18 23:34:00 UTC
Created attachment 143712 [details]
focused visual state improperly triggered in window elements

QtWidget app window top elements(titlebar,menubar,toolbar) visual bug when unfocused and engaging it to focused mode by triggering the menu bar.

STEPS TO REPRODUCE
1. Have unfocused qtwidget based window;
2. Interact with window by triggering an event with a menubar item such as clicking;

OBSERVED RESULT
The darker top area of the window, as according to the new style, that involves the titlebar, menubar, and toolbar, will not follow the visual change from unfocused to focused state, only the exact menubar item and afterwards any other item on the bar that is selected.

EXPECTED RESULT
The new style involving top window elements shows the visual alteration from unfocused to focused state regardless of what area of the window is interacted with.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Graphics Platform: Wayland

Other Observations: Haven't tested out QtQuick based apps but so far I don't think I've seen such bug on said framework.
Comment 1 Nate Graham 2021-11-23 22:13:13 UTC
Cannot reproduce with KTorrent, Dolphin, or Okular. Are you sure you're using Wayland? I ask because this is a known unfixable bug on X11 due to how X11 works, but is already supposed to work properly on Wayland--and it does for me.
Comment 2 Bug Janitor Service 2021-12-08 04:35:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-12-23 04:49:02 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!