Bug 392577 - In dual screen setup, hidpi monitor has pixelated font and icon rendering
Summary: In dual screen setup, hidpi monitor has pixelated font and icon rendering
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-wayland (show other bugs)
Version: 5.13.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-31 21:08 UTC by Miroslav Spehar
Modified: 2020-03-11 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
mspehar: Wayland+


Attachments
plasma picture with bad font rendering (3.72 MB, image/jpeg)
2018-03-31 21:08 UTC, Miroslav Spehar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Spehar 2018-03-31 21:08:38 UTC
Created attachment 111761 [details]
plasma picture with bad font rendering

in dual screen setup, where one monitor is hidpi and the other one is standard dpi, on hidpi monitor fonts and icons are rendered pixelated. 

please check attached picture taken with phone. 

only titlebar font is displayed ok, everything else is pixelated:
- all fonts (check titlebar of kate and text written in kate for comparison)
- text in konsole (with default font)
- text in all menu bars (file, edit, etc.)
- icons in dolphin settings, toolbar, etc.

this issue is linked to Bug 390639 where only icon in titlebar was fixed, but fonts and other icons are still bad.

tested on kubuntu 18.04 daily with latest updates applied. same situation existed in neon when i opened bug 390639

if font settings are important, anti-aliasing is set to "system settings"
Comment 1 Miroslav Spehar 2018-04-02 10:51:31 UTC
what i've noticed is that when new user account is created and default monitor arrangement is used, the pixelation doesnt happen.
once i switch monitor left/right i systemsettings, the pixelation starts to happen.
Comment 2 Miroslav Spehar 2018-04-02 11:46:36 UTC
ok, just tested it, the behavior is like this

in two monitor setup, where one monitor is standard dpi and the other one is hidpi, the order in kscreen matters.
- when left (1st) monitor is standard dpi, picture on hidpi monitor is pixelated
- when left (1st) monitor is hidpi, the picture on hidpi monitor is ok

described case fixes pixelated text in case applications are running natively on wayland (tested on dolphin, kate, konsole)

it doesn't work with applications which are running through xorg (firefox, intellij as snap, intellij as downloaded app)

not sure about falkon though: configuration menu is not pixelated, but tab titles are.
Comment 3 David Edmundson 2018-04-02 18:46:33 UTC
Please paste output of 
"env" in a terminal
Comment 4 Miroslav Spehar 2018-04-02 19:50:39 UTC
GS_LIB=/home/mspehar/.fonts
KDE_FULL_SESSION=true
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
LC_MEASUREMENT=de_AT.UTF-8
LESSCLOSE=/usr/bin/lesspipe %s %s
LC_PAPER=de_AT.UTF-8
LC_MONETARY=de_AT.UTF-8
LANG=en_US.UTF-8
PROFILEHOME=
DISPLAY=:1
SHELL_SESSION_ID=733eca4e85234415a478f47867eda9f7
COLORTERM=truecolor
XDG_VTNR=2
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
XKB_DEFAULT_LAYOUT=hr
LC_NAME=de_AT.UTF-8
XDG_SESSION_ID=3
USER=mspehar
DESKTOP_SESSION=plasmawayland
TEXTDOMAINDIR=/usr/share/locale/
WAYLAND_DISPLAY=wayland-0
PWD=/home/mspehar
HOME=/home/mspehar
TEXTDOMAIN=im-config
XDG_SESSION_TYPE=wayland
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
KONSOLE_DBUS_SESSION=/Sessions/1
XDG_SESSION_DESKTOP=KDE
LC_ADDRESS=de_AT.UTF-8
LC_NUMERIC=de_AT.UTF-8
KONSOLE_DBUS_WINDOW=/Windows/1
QT_WAYLAND_FORCE_DPI=96
TERM=xterm-256color
SHELL=/bin/bash
KONSOLE_DBUS_SERVICE=:1.49
XDG_SESSION_CLASS=user
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XKB_DEFAULT_MODEL=pc105
IM_CONFIG_PHASE=2
XCURSOR_THEME=breeze_cursors
XDG_CURRENT_DESKTOP=KDE
KONSOLE_PROFILE_NAME=default
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
XDG_SEAT=seat0
SHLVL=1
COLORFGBG=15;0
LANGUAGE=
WINDOWID=1
LC_TELEPHONE=de_AT.UTF-8
PLASMA_USE_QT_SCALING=1
QT_QPA_PLATFORM=wayland
LOGNAME=mspehar
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FtfFLAj75h,guid=ea47b744f9cd31b1bdd5192b5ac26fb0
XDG_RUNTIME_DIR=/run/user/1000
PAM_KWALLET_LOGIN=/run/user/1000/kwallet.socket
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
QT_AUTO_SCREEN_SCALE_FACTOR=0
PATH=/home/mspehar/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
LC_IDENTIFICATION=de_AT.UTF-8
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
SESSION_MANAGER=local/r7:@/tmp/.ICE-unix/1712,unix/r7:/tmp/.ICE-unix/1712
LESSOPEN=| /usr/bin/lesspipe %s
LC_TIME=de_AT.UTF-8
_=/usr/bin/env
Comment 5 Miroslav Spehar 2018-04-06 08:43:59 UTC
Requested INFO added
Comment 6 David Edmundson 2018-04-06 12:27:57 UTC
What Qt version is this?
Comment 7 Miroslav Spehar 2018-04-06 15:56:42 UTC
"about system" says 

qt: 5.9.4
plasma version: 5.12.4
frameworks: 5.44
Comment 8 David Edmundson 2018-04-06 16:07:17 UTC
windows knowing what monitor they're on was in Qt5.10

Please repoen if you still have this problem with a newer Qt.
Comment 9 Miroslav Spehar 2018-04-08 14:35:02 UTC
Installed archlinux with KDE. Same behaviour.
Comment 10 Miroslav Spehar 2018-04-08 14:36:37 UTC
That is, now qt 5.10.1 is installed and it is still doesnt work
Comment 11 David Edmundson 2018-04-08 15:56:37 UTC
Please provide output of qdbus org.kde.KWin /KWin supportInformation
Comment 12 Miroslav Spehar 2018-04-08 16:55:35 UTC
at the following link:

https://paste.kde.org/pcvzovpsh
Comment 13 Miroslav Spehar 2018-05-27 19:45:33 UTC
Since latest update on Archlinux, the content of e.g. Kate is now properly rendered.

The problem remains with menus (e.g. when i click 'edit' in kate, text in dropdown menu is still pixelated)
Comment 14 David Edmundson 2020-02-10 18:53:30 UTC
Please can you confirm if this is still an issue with up-to-date plasma/kwin
Comment 15 Bug Janitor Service 2020-02-25 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Bug Janitor Service 2020-03-11 04:33:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

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