Bug 491363 - Window hides behind floating panel when maximized
Summary: Window hides behind floating panel when maximized
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2024-08-06 20:45 UTC by klaessonerik
Modified: 2024-11-20 21:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments
Video of bug (1.81 MB, video/mp4)
2024-08-06 21:07 UTC, klaessonerik
Details
broken top panel with maximized window (159.57 KB, image/png)
2024-11-20 13:25 UTC, Filipe Azevedo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klaessonerik 2024-08-06 20:45:05 UTC
SUMMARY: When you have a floating panel of any kind and you maximize a window that window is partially behind the panel until you wiggle the mouse around for a bit. Works as expected when the panel is not set to floating


STEPS TO REPRODUCE
1. Have a floating panel
2. Maximize window
3. Wiggle mouse around

OBSERVED RESULT
Window is partially behind the panel

EXPECTED RESULT
Window should be below the panel

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.3
Wayland
Qt Version: 6.7.2
Kernel: 6.9.12
Nvidia proprietary: 555.58.02
Comment 1 Nate Graham 2024-08-06 20:56:30 UTC
I can't reproduce this issue on current git master. Could you attach a screen recording that shows it happening?
Comment 2 klaessonerik 2024-08-06 21:07:57 UTC
Created attachment 172361 [details]
Video of bug
Comment 3 Nate Graham 2024-08-06 21:47:25 UTC
Ah, specifically with a top panel. This is fixed in Plasma 6.2 already.
Comment 4 klaessonerik 2024-08-06 21:50:59 UTC
(In reply to Nate Graham from comment #3)
> Ah, specifically with a top panel. This is fixed in Plasma 6.2 already.

Oh that's great. It's just that it behaves this way regardless of where the panel is located
Comment 5 Filipe Azevedo 2024-11-20 13:24:06 UTC
It is not fixed, I still have the problem with a fixed panel, in any position.

Operating System: KaOS (2024) 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.10.12-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4960HQ CPU @ 2.60GHz
Memory: 15,5 GiB of RAM
Graphics Processor: NVE7
Manufacturer: Apple Inc.
Product Name: MacBookPro11,3
System Version: 1.0
Comment 6 Filipe Azevedo 2024-11-20 13:25:24 UTC
Created attachment 175974 [details]
broken top panel with maximized window
Comment 7 Filipe Azevedo 2024-11-20 13:28:45 UTC
(In reply to Filipe Azevedo from comment #5)
> It is not fixed, I still have the problem with a fixed panel, in any
> position.
> 
> Operating System: KaOS (2024) 
> KDE Plasma Version: 6.2.3
> KDE Frameworks Version: 6.8.0
> Qt Version: 6.8.0
> Kernel Version: 6.10.12-1 (64-bit)
> Graphics Platform: Wayland
> Processors: 8 × Intel® Core™ i7-4960HQ CPU @ 2.60GHz
> Memory: 15,5 GiB of RAM
> Graphics Processor: NVE7
> Manufacturer: Apple Inc.
> Product Name: MacBookPro11,3
> System Version: 1.0

If it matter, I have a macbook pro with a retina screen for which i do not want to scale. So my display is configured as 2880x1800 with a scale of 100%
Comment 8 Filipe Azevedo 2024-11-20 14:02:29 UTC
(In reply to Filipe Azevedo from comment #7)
> (In reply to Filipe Azevedo from comment #5)
> > It is not fixed, I still have the problem with a fixed panel, in any
> > position.
> > 
> > Operating System: KaOS (2024) 
> > KDE Plasma Version: 6.2.3
> > KDE Frameworks Version: 6.8.0
> > Qt Version: 6.8.0
> > Kernel Version: 6.10.12-1 (64-bit)
> > Graphics Platform: Wayland
> > Processors: 8 × Intel® Core™ i7-4960HQ CPU @ 2.60GHz
> > Memory: 15,5 GiB of RAM
> > Graphics Processor: NVE7
> > Manufacturer: Apple Inc.
> > Product Name: MacBookPro11,3
> > System Version: 1.0
> 
> If it matter, I have a macbook pro with a retina screen for which i do not
> want to scale. So my display is configured as 2880x1800 with a scale of 100%

Not sure in the end the issue is the same, at least in its origin. I narrowed it down to the usage of `export QT_FONT_DPI=120` in my .bashrc file. If I comment, everything is now looking normal (except the fact that everything is too small now). Note that on X11 this scale both Qt and Gtk apps, while on wayland it only seems to scale plasma. Qt and Gtk apps seems unaffected. Note that I don't want a desktop scale, I want bare plasma for which font get a bit bigger without changing the default desktop font sizes.
Comment 9 Nate Graham 2024-11-20 21:25:24 UTC
Yeah, that's not supported, sorry. It sounds like your issue is different from the original one here since it has a different root cause, and that root cause is configuring the system in a way that we don't support.