Bug 272790

Summary: Make Oxygen style (and window decoration) fully scalable
Product: [Plasma] Oxygen Reporter: Lukas Sommer <sommerluk>
Component: styleAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: REPORTED ---    
Severity: normal CC: masaj, mrmazda, sommerluk
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lukas Sommer 2011-05-08 18:14:41 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

Make Oxygen style (and window decoration) fully scalable.

Use case:

You want to use KDE on your plasma television which is quite big (let's say 42
inch) and has a high resolution (let's say 1920x1080). You want to sit quite a
distance away (let's say 6 meters).

We use non-standard display sizes more and more. So it is importand that KDE
supports this usage better than it currently does.



Reproducible: Always

Steps to Reproduce:
Raise your font sizes (either be raising the point size or by raising the font resolution) to a much bigger value (for example triple).


Actual Results:  
The font size is scaled. But the Oxygen widget style doesn't scale: Check boxes, radio buttons, scroll bar width and so on are not adopted and are too small for the corresponding font sizes. The same applies for Oxygen window decoration.


Expected Results:  
Check boxes, radio buttons, scroll bar width and so on are adopted and displayed using "more pixels" ("bigger"). The same applies for Oxygen window decoration.


OS: Linux (i686) release 2.6.37.1-1.2-default
Compiler: gcc

The style could, for example, adopt

1) according to the font sizes obtained by fontconfig. This approach is used by the Skulpture widget style (http://kde-look.org/content/show.php/?content=59031). The result is that you can leave the font resolution without changes (usually with 96 dpi as default), only raising the point sizes of the fonts (to for example 27 pt), resulting in the widget style to be adopted.

or

2) according to the Xft font size reported by the X server.

Which one of these possibilities is better for cross-platform issues (Windows, Mac)?


This is a spin-off bug of Bug 272266
Comment 1 Lukas Sommer 2011-05-09 08:55:40 UTC
To clarify further:

Option 1 would mean to depend on the pixel size of the font. For example, 24 point at 96 dpi would result in the same pixel size as 12 points at 192 dpi. And in both cases the UI elements would be adopted (bigger than currently). Option 2 would mean that the UI elements are only adopted for 12 points at 192 dpi, and not for 24 points at 96 dpi.
Comment 2 Hugo Pereira Da Costa 2013-12-02 16:39:12 UTC
*** Bug 328334 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Crouthamel 2018-11-11 04:28:06 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-21 04:32:28 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!