SUMMARY *** focusing something else and then right clicking the window border/title/decoration the focus doesnt change to the window but the context menu do appear. STEPS TO REPRODUCE 1. launch firefox as a xwayland client. 2. click the desktop or another window. 3. right click the border/title/decoration and the menu appears but firefox doesnt get focused. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.23.90 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2
It most likely would require adding a new window action, e.g. activate + show user actions menu. However, it's worth analyzing whether there are potential benefits for not activating the window, if there aren't any, then it should be a one liner - call Workspace::activateClient().
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2106
Can you please reiterate the purpose or the usecase why the window should be activated?
(In reply to Vlad Zahorodnii from comment #3) > Can you please reiterate the purpose or the usecase why the window should be > activated? 2022-02-02 its some time ago but as i remember it it was just different to how X dealt with it, and felt like an odd thing to see the context menu appear but the window not focused. like i was interacting with an unfocused window? heh.
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!
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!