Summary: | System Tray highlight is offset when there is no visible entries | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Bruno Guedes <brunoguedes.nave> |
Component: | System Tray widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | materka, nate |
Priority: | NOR | ||
Version First Reported In: | 5.21.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/220c725813ed72435af3ba7900329c7fcb18f155 | Version Fixed In: | 5.22.0 |
Sentry Crash Report: | |||
Attachments: |
offset inside the margin
offset outside the margin Arrow |
Description
Bruno Guedes
2021-04-27 22:07:57 UTC
Created attachment 137963 [details]
offset inside the margin
with inside and outside the margin I mean that the system tray is to the left side of the Margin Separator (outside) or to the right side of the Margin Separator (inside).
Created attachment 137964 [details]
offset outside the margin
are you using right-to-left orientation? (In reply to Konrad Materka from comment #3) > are you using right-to-left orientation? I didn't understand your question Are you asking about my system language? If so the answer is no. My system is in English But if you are talking about the alignment of the panel, it does not matter. I can reproduce the bug in all alignments (left, center and right). and if you are asking because the arrow is to the left side of the other widgets in the images... that is because they are not part of the system tray. Those are the individual widgets. The system tray is just showing the triangle to expand and collapse the hidden widgets. Seems like this is fixed in 5,22 already, as the line now spans the entire width/height of the panel tray representation, rather than just the arrow. (In reply to Nate Graham from comment #5) > Seems like this is fixed in 5,22 already, as the line now spans the entire > width/height of the panel tray representation, rather than just the arrow. Sorry. I gave the wrong info about the bug. It only happens if you set all entries of the system tray to always hidden or disabled. and the highlight line already spans over the entire system tray in 5.21. and even so I am having this bug steps to properly reproduce: 1. right click on the system tray and go to "Configure System Tray". 2. go to the entries tab and mark all entries as always hidden or disabled, but leave at least one entry as always hidden. 3. apply the changes. Now there should be just a up pointing triangle (the button that shows the hidden entries). 4. click the button and see the highlight. I am reopening this bug and changing its name to properly convey the bug's behavior. Again sorry for the misdirection. Created attachment 138033 [details]
Arrow
That's unusual test case :) I can confirm. Highlight is correct, arror is not centered.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/833 Git commit 220c725813ed72435af3ba7900329c7fcb18f155 by Konrad Materka. Committed on 04/05/2021 at 07:14. Pushed by kmaterka into branch 'master'. [applets/systemtray] Center expander arrow FIXED-IN: 5.22.0 M +1 -0 applets/systemtray/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/220c725813ed72435af3ba7900329c7fcb18f155 |