Summary: | Applet not expanding under system tray when preferredRepresentation set. | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | dhruv8sh <dhruv8sh> |
Component: | System Tray | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | materka, nate |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
dhruv8sh
2024-03-25 04:05:03 UTC
If you can still reproduce this in Plasma 6.1.4, can you attach your test widget? System-default widgets don't exhibit this, so I suspect the code is slightly wrong in some subtle way, but let's find out. Specifically, what are you setting the preferredRepresentation property to? I suspect the `compactRepresentation` value indeed it simply incompatible with being in the system tray's expanded view. (In reply to Nate Graham) > System-default widgets don't exhibit this To test this, I went ahead and added the preferredRepresentation value to the org.kde.plasma.battery applet. The issue is definitely reproducible. > Specifically, what are you setting the preferredRepresentation property to? Setting it to either value breaks this functionality. Users of my applet were reporting this but it was not reproducible for me. Maybe it had to do something with the KF5 stuff that I had installed. After a reinstall of Arch, the issue persisted for me as well. Ultimately I think this is a case of developer/user error. The purpose of this property is to force the applet to always show a particular representation. In the System Tray this only makes sense for applets implemented as a simple on/off toggle for something, with no expanded view, such as Input Method or Keyboard Layout. For something like Battery Monitor, it doesn't make sense. |