Bug 401725

Summary: Cannot display menu on certain applictaions (e.g. LyX, Kate)
Product: [Plasma] Active Window Control Reporter: Litao Lu <lulitao1997>
Component: GeneralAssignee: Chris Holland <zrenfire>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde, lulitao1997, plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=399975
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Litao Lu 2018-12-04 05:57:17 UTC
SUMMARY

Cannot display menu on certain applictaions (e.g. LyX, Kate)


STEPS TO REPRODUCE
1. enable global menu in active-window-control.
2. open LyX.
3. click any menu item in the global menu, menu will not pop up.

OBSERVED RESULT
menu did not pop up.

EXPECTED RESULT
menu should pop up.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Kernel 4.19
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2
active-window-control: latest git version.

ADDITIONAL INFORMATION
it also happens when clicking (Kate -> Bookmarks) menu.
Comment 1 Christoph Feck 2018-12-20 17:52:36 UTC
The fix from bug 399975 might be applicable.
Comment 2 Justin Zobel 2023-01-19 00:18:43 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2023-02-03 05:01:48 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 4 Bug Janitor Service 2023-02-18 03:47:44 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!
Comment 5 Litao Lu 2023-02-19 04:56:19 UTC
(In reply to Justin Zobel from comment #2)
> Thank you for reporting this issue in KDE software. As it has been a while
> since this issue was reported, can we please ask you to see if you can
> reproduce the issue with a recent software version?
> 
> If you can reproduce the issue, please change the status to "REPORTED" when
> replying. Thank you!

Sorry for the late reply, I still can reproduce this issue

```
~ $ LANG=C pacman -Si plasma5-applets-active-window-control
Repository      : community
Name            : plasma5-applets-active-window-control
Version         : 1.7.3-3

Operating System: Arch Linux 
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: OMEN by HP Laptop 16-c0xxx
```
Comment 6 xiota 2023-02-24 06:07:43 UTC
Potential workaround.  Edit `{~/.local,/usr}/share/plasma/plasmoids/org.kde.activeWindowControl/contents/ui/AppMenu.qml` with the following change:

-                 import org.kde.private.activeWindowControl 1.0 as ActiveWindowControlPrivate;\
+                 import org.kde.plasma.private.appmenu 1.0 as ActiveWindowControlPrivate;\