Created attachment 187791 [details] To much space used on the right side SUMMARY The Global Menu widget has an invisible are on the right side. To visualize this I've attached a screenshot. The window title widget is located way behind the Global Menu's search button. Also the right click menu of the Global Menu widget is spawned on a position where the window title widget should be. The window title widget has the fill space property set, which works when a window without a global menu is focused. STEPS TO REPRODUCE 1. add a global menu 2. open a window with a global menu 3. To much space is used by the widget. OBSERVED RESULT widget uses more space than needed EXPECTED RESULT widget should be exactly the size of all it's buttons. SOFTWARE/OS VERSIONS Linux: cachyos KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.21.0 Qt Version: 6.10.1 ADDITIONAL INFORMATION Works like expected when panel is completely filled. Screenshot in second post.
Created attachment 187792 [details] Widget size is correct when panel is filled
Created attachment 187793 [details] Window without Global menu
The widget intentionally fills the empty space on the panel, same as the Task Manager widget. I'd recommend moving the window title widget to the left of the Global Menu widget. Then the window title also won't jump around based on the number of menus that the app exposes.