| Summary: | taks widgets ignore style hints in /widget/tasks.svg(z) | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | FabiB <plusfabi> |
| Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | lemmyg, nate, notmart, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.2.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
the ame element on north and east. that should not be
tasks element for testing. |
||
|
Description
FabiB
2015-04-05 18:24:38 UTC
Created attachment 91898 [details]
the ame element on north and east. that should not be
on the first attachment you can see that there are the same height/width for bot - north and east elements. that is because of the bug
Created attachment 91899 [details]
tasks element for testing.
the secound attachment is a tasks.svg, you can use to try the bug, because in breeze itself all elements on every side are the same, so that the wont dont appear there.
There's unfortunately a lot of historical baggage here. The old Plasma Task Manager, from before my rewrite, already behaved this way, and as a result there are countless themes that rely on this behavior and don't specify sensible margins for the non-normal states, causing the button contents to shift around in an ugly way if they're respected. So while you're correct that this is technically incorrect and I would greatly prefer for it to behave in the way you desire, our hands are also kind of tied. What we could do is define an additional hint element to allow themes to opt into the correct behavior. maybe some kind of global hint, like "plasma5-only-hint". this way it would be possible to fix some other errors too without a compatibility loss for older themes? i really like the idea. Because right now the theming possibilies for plasma are in a really bad state :( I'll brain-storm this a bit with Marco Martin after we freeze 5.3 this week and we'll figure out what we can do for 5.4. Thank you so much for this! :) I don't think it is a problem to use like east-hint-bottom-margin and such if available, since old themes would not have those elements at all, so shouldn't change behavior.. Looks like an old issue. Setting it to needs more info.
Please try with a newer version(plasma 5.23.5) and if this is not an issue any more let us know.
Bugs placed into NEEDSINFO status will receive a reminder if the ticket:
Is at least 15 days old
Has not received any comment within 15 days
If a bug remains in NEEDSINFO for another 15 days with no comment, it will be closed as RESOLVED > WORKSFORME.
If a bug remains in NEEDSINFO with a comment provided within less than 15 days, no action will be taken (as it does not meet the above criteria).
Pretty sure this is in fact fixed now. |