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

            Bug ID: 449781
           Summary: Application menu widget doesn't resize when menu
                    contents change
           Product: plasmashell
           Version: 5.23.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Global Menu
          Assignee: k...@privat.broulik.de
          Reporter: darktemp...@basealt.ru
                CC: mvourla...@gmail.com, plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 146434
  --> https://bugs.kde.org/attachment.cgi?id=146434&action=edit
application_menu_unresized.png

SUMMARY
When you focus on different application, the "application menu" desktop widget
gets different contents, but does not resize to properly hold new contents.

STEPS TO REPRODUCE
1. Add "application menu" widget to desktop, configure it to be in standard
mode, not compact mode.
2. Open two different applications in windowed mode, ensure that they have
different menu lengths. For example I use konsole and kate.
3. Ensure that application with shorter application menu is focused. Konsole
has shorter menu for me, thus I focus konsole window.
4. Restart plasmashell. Run with krunner "plasmashell --replace"
5. When it finishes reloading, "application menu" will resize to fit menu of
current application, in my case, "konsole".
6. Switch focus to application with longer menu. In my case it's "kate".

OBSERVED RESULT
"Application menu" widget doesn't fit all application menu entries, but it
doesn't crop them either and they stick out like on attached screenshot.

EXPECTED RESULT
"Application menu" widget should either crop application menu entries which
don't fit it's current size, or it should resize to allow it to fit.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Instead of reloading plasmashell with "plasmashell --replace", relogging into
session might also work.

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

Reply via email to