Bug 436515 - Enhancement: standardize app top panels
Summary: Enhancement: standardize app top panels
Status: RESOLVED MOVED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.21.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-03 05:18 UTC by Lua
Modified: 2021-05-04 16:17 UTC (History)
2 users (show)

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


Attachments
app titles and toolbars (155.09 KB, image/png)
2021-05-03 05:18 UTC, Lua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lua 2021-05-03 05:18:19 UTC
Created attachment 138105 [details]
app titles and toolbars

SUMMARY
Some apps have inconsistent spacement in the titles and other elements such as search bars.

STEPS TO REPRODUCE
1. Go to System Settings > Colors and go to KDE Connect > Pair.

OBSERVED RESULT
In KDE Connect, the "pair" title has more spacement than "Colors". This doesn't happens only in these apps, I attached a screenshot showing a bit more, like Dolphin settings.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-16-generic
ADDITIONAL INFORMATION
Maybe a solution would be creating a class that would provide fixed padding and margins to these sections. This wouldn't required to set specific margins to all KDE apps.
Comment 1 Lua 2021-05-03 05:21:31 UTC
Note: when I said class, I was actually referring to CSS, where a class can give the same style for multiple elements. I have no idea if this concept exists in KDE apps.
Comment 2 Lua 2021-05-03 05:26:55 UTC
Note: when I said class, I was actually referring to CSS, where a class can give the same style for multiple elements. I have no idea if this concept exists in KDE apps.
Comment 3 Nate Graham 2021-05-03 20:23:22 UTC
Good eye!

Like Bug 436517, this would be better presented as a Phabricator task that is made into a sub-task of https://phabricator.kde.org/T11093, as it would require:

1. First defining a reference appearance; what *do* we want the standard margins to be?
2. Going into each app and finding out the source of each divergence from the standard
3. Fixing multiple bugs in both the apps themselves but also the underlying frameworks that they are using
4. In some cases, porting custom header items to use standardized ones
5. In other cases, creating new standard header items (e.g. for the now-common pattern of a sidebar header with a hamburger menu, search field, and home button)

And so on. As yo can see, this is more of a long-term project than a single discrete bug that can be fixed.

Would you like to open up a Phabricator task for that?
Comment 4 Lua 2021-05-04 16:17:54 UTC
I will post there, thanks for the info o/