Bug 486049 - floating panel having the wrong size under wayland
Summary: floating panel having the wrong size under wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 02:19 UTC by KazuhiroShigeru
Modified: 2024-04-28 09:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the bug itself (434.55 KB, image/png)
2024-04-24 02:20 UTC, KazuhiroShigeru
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KazuhiroShigeru 2024-04-24 02:19:31 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
under wayland, I use a floating panel with only the task manager (icons only) as a latte dock replacement. I have it set to be centered and auto adjust. when I login to plasma, it has the wrong size and sets my icons to the left. this didn't happened before. 

STEPS TO REPRODUCE
1. make a floating panel that will contain the pinned and opened apps, center it to create a dock.
2. login with wayland session
3. the bug happens

OBSERVED RESULT

the only fix is to open edit mode then escape. but the bug will show up next login or boot.
EXPECTED RESULT
have no issue but a dock/panel with the correct size and padding.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
attached a shot of the issue under wayland
Comment 1 KazuhiroShigeru 2024-04-24 02:20:07 UTC
Created attachment 168853 [details]
the bug itself
Comment 2 Niccolò Venerandi 2024-04-26 09:29:23 UTC
When you enter edit mode, do you see it still as "fit content" or does it fall back to "fill width"?
Comment 3 KazuhiroShigeru 2024-04-27 02:51:55 UTC
(In reply to Niccolò Venerandi from comment #2)
> When you enter edit mode, do you see it still as "fit content" or does it
> fall back to "fill width"?

by default it was using "fit content" after upgrading from plasma 5.27.x 
I ended setting it to custom and the bug shows up at random, but less times now. will reboot to see if it persists and reply back
Comment 4 KazuhiroShigeru 2024-04-27 02:57:14 UTC
(In reply to KazuhiroShigeru from comment #3)
> (In reply to Niccolò Venerandi from comment #2)
> > When you enter edit mode, do you see it still as "fit content" or does it
> > fall back to "fill width"?
> 
> by default it was using "fit content" after upgrading from plasma 5.27.x 
> I ended setting it to custom and the bug shows up at random, but less times
> now. will reboot to see if it persists and reply back

well, it seems like that after updating arch the bug was fixed, as I set the panel to "fit content" again and it's not happening even after a reboot under the wayland session.
Comment 5 Niccolò Venerandi 2024-04-28 09:21:10 UTC
I'll mark as resolved then.