| Summary: | plasma5 show tiny icons in high dpi screens | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Giuseppe Ghibò <ghibomgx> |
| Component: | RPM Packages | Assignee: | KDE maintainers <kde> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | plasma-workspace-5.8.2-1.mga6.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
screenshot of plasma system settings without the QT_AUTO_SCREEN_SCALE_FACTOR=0
screenshot of plasma system settings with the QT_AUTO_SCREEN_SCALE_FACTOR=0 Patch to avoid forcing QT_AUTO_SCREEN_SCALE_FACTOR=0 in startkde external setting of QT_AUTO_SCREEN_SCALE_FACTOR=0 patch for the SPEC file |
||
|
Description
Giuseppe Ghibò
2016-10-23 16:08:46 CEST
Created attachment 8586 [details]
screenshot of plasma system settings without the QT_AUTO_SCREEN_SCALE_FACTOR=0
Created attachment 8587 [details]
screenshot of plasma system settings with the QT_AUTO_SCREEN_SCALE_FACTOR=0
Created attachment 8588 [details]
Patch to avoid forcing QT_AUTO_SCREEN_SCALE_FACTOR=0 in startkde
can you provide the real patch ? not the one against the spec file ;) CC:
(none) =>
mageia Yep, sorry, but indeed both are included in the same .diff file. The diff is for both SPEC and SOURCES to provide the new patch. It's just a one line patch and is in the bottom of the .diff file. Let me know if you can extract, otherwise I'll reupload.
Marja Van Waes
2016-10-23 21:10:16 CEST
CC:
(none) =>
marja11 Created attachment 8625 [details]
external setting of QT_AUTO_SCREEN_SCALE_FACTOR=0
Here is a better patch: the setting of QT_AUTO_SCREEN_SCALE_FACTOR has been moved externally to the startkde script, in this way it can be configurable. The default value is left unchanged.
Created attachment 8626 [details]
patch for the SPEC file
Here is the patch of the spec file with the config file in /etc/sysconfig/plasmaqtsettings.
Attachment 8588 is obsolete:
0 =>
1 if this is a config file this is not the good place, this need to go to the plasma config rpm and in ( http://gitweb.mageia.org/software/desktop/plasma5/config/ ) Great. I'll add the entry for that in /etc/xdg/plasma-workspace/env/qtplasmasettings.sh Closing. Status:
NEW =>
RESOLVED (In reply to Giuseppe Ghibò from comment #10) > Closing. When closing, please say why. Ok, closing because there is no need to patch startkde anymore. Adding a simple config file /etc/xdg/plasma-workspace/env/qtplasmasettings.sh containing just the line: export QT_AUTO_SCREEN_SCALE_FACTOR=1 or unset QT_AUTO_SCREEN_SCALE_FACTOR would achieve the same effect as patching startkde not setting it, because it would override the QT_AUTO_SCREEN_SCALE_FACTOR=0 in startkde, thus Plasma applications in HiDPI (if dpi is correctly set) will scale correctly. |