Bug 490108 - Line chart based widgets often do not show legend inside a wide vertical panel
Summary: Line chart based widgets often do not show legend inside a wide vertical panel
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor widgets (show other bugs)
Version: 6.1.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 490539 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-11 12:52 UTC by ugjka
Modified: 2024-07-27 03:38 UTC (History)
6 users (show)

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


Attachments
screencap of line chart based widgets inside a vertical panel (1.65 MB, video/mp4)
2024-07-11 12:52 UTC, ugjka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ugjka 2024-07-11 12:52:46 UTC
Created attachment 171569 [details]
screencap of line chart based widgets inside a vertical panel

SUMMARY
Inside a vertical panel oftentimes the line chart based widgets do not show legend but it only can be shown when clicked on the widget.

STEPS TO REPRODUCE
1. Create a wide vertical panel
2. Add multiple line chart based widgets

OBSERVED RESULT
widgets do not show legend sometimes

EXPECTED RESULT
widgets should show legend

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.6.38-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-2312M CPU @ 2.10GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000
Manufacturer: TOSHIBA
Product Name: SATELLITE L850-1LK
System Version: PSKG6E-00C002EN

ADDITIONAL INFORMATION
Dual monitor setup: Primary-Right-1366x768 Secondary-Left-1280x1024
Comment 1 Akseli Lahtinen 2024-07-12 12:36:36 UTC
Can confirm this bug


Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 2 Bug Janitor Service 2024-07-17 12:44:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4533
Comment 3 Arjen Hiemstra 2024-07-18 10:15:23 UTC
Git commit d9d3c67b71bcc23635acb37534ed41eb09200518 by Arjen Hiemstra.
Committed on 18/07/2024 at 09:44.
Pushed by ahiemstra into branch 'master'.

applets/sysmon: Base switch size on both compact and full rep size

This reworks the switching size logic so we account for both maximum
compact rep size and minimum full rep size. The intent is that we switch
the moment the compact rep reaches its maximum, unless the full rep
won't fit, in which case we'll switch when the full rep fits. We also
account for if we're on a horizontal or vertical panel, only accounting
for one dimension for switching in those cases, as the other dimension
is free to expand.

M  +35   -6    applets/systemmonitor/systemmonitor/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/d9d3c67b71bcc23635acb37534ed41eb09200518
Comment 4 ugjka 2024-07-18 13:55:53 UTC
I can confirm this is fixed after i applied the MR patch to the 6.1.2 arch package. The only problem was that i had to recreate the faulty widgets but after that it is smooth sailing
Comment 5 Nate Graham 2024-07-27 03:38:53 UTC
*** Bug 490539 has been marked as a duplicate of this bug. ***