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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |bc0c80db4bda48b6646fc7e3abf
                   |                            |38f0cb59b5fcc

--- Comment #4 from cwo <[email protected]> ---
Git commit bc0c80db4bda48b6646fc7e3abf38f0cb59b5fcc by Christoph Wolk, on
behalf of Marcin Krycki.
Committed on 26/10/2026 at 10:57.
Pushed by cwo into branch 'master'.

applets/kicker: use the containment's screen for the popup size limit

When the screen with the panel goes away for a moment, for example when
the monitor is turned on only after the computer has resumed, the panel
is moved to another screen and back. When the popup is shown afterwards,
its Screen attached property still refers to the other screen, so the
height is limited by that screen. Screen is updated right after that,
but the popup keeps the smaller size and the menu stays too short, also
when it is opened again.

It only shows when the other screen is small enough. In my setup the
panel is on a 2560x1440 screen and a 1024x600 screen is placed below it.
The menu needs about 640 px, but 90% of 600 px is only 540 px, so the
list has to be scrolled.

This became visible with b8fc07ab80, which limited the popup height
to a fraction of Screen.height.

Use the containment's screen geometry instead, for the height and the
width limits. It follows the panel when it moves between screens and
does not depend on the popup window, so it already refers to the right
screen when the popup is shown. The task manager also relies on it to
know which screen it is on. For a widget on the desktop the containment
is that screen's desktop, so the limit still comes from the screen the
widget is on.

M  +4    -4    applets/kicker/MenuRepresentation.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/bc0c80db4bda48b6646fc7e3abf38f0cb59b5fcc

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

Reply via email to