https://bugs.kde.org/show_bug.cgi?id=449051

            Bug ID: 449051
           Summary: Latte is too late for global menu (follow up of bug
                    186 applet-window-appmenu)
           Product: lattedock
           Version: 0.10.7
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: mvourla...@gmail.com
          Reporter: jannowa...@protonmail.com
  Target Milestone: ---

SUMMARY

I don't know what KDE changed in their code but it seems that the KDE
applications now check if there is a recipient of global menu export at start
of application. This has unfortunate side-effect of applet-window-appmenu
applet breaking with KDE applications that are restored (I did not check if GTK
based applications work same way) or they start at launch but not from typical
auto-start like kwalletmanager5. This seems to stem from fact that restored
applications (and kwalletmanager5) seem to start up before KDE auto-start (or
they start in different threads thus introducing race condition). What
effectively happens is latte starts too latte to give response to application
that asks for the availability of menu recipient.

Why here (applet-window-menu and Latte) - I don't know where this
implementation of KDE appmenu is.

STEPS TO REPRODUCE
A)
1. Use applet-window-appmenu with latte dock (remove any other recipient)
2. Select restore applications
3. Open Dolphin
4. Restart
B)
1. Use applet-window-appmenu with latte dock (remove any other recipient)
2. Select open wallet at start
3. Restart
OBSERVED RESULT
A) Restored applications don't follow up global menu.
B) Wallet manager doesn't follow up global menu.
EXPECTED RESULT
Applications follow up global menu.

TEMPORARY "FIX": restart applications (Wallet Manager need manual SIGINT or
SIGTERM) - that however does defeat the point of "restore applications" option.

SOFTWARE/OS VERSIONS
Linux:  Garuda/Arch Linux (current)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90
Qt Version: 5.15.2 (KDE)
X11
ADDITIONAL INFORMATION
This is follow up of
https://github.com/psifidotos/applet-window-appmenu/issues/186  in
"applet-window-appmenu".

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to