Bug 407599 - Badly rendered text in certain parts of builtin and 3rd-party apps
Summary: Badly rendered text in certain parts of builtin and 3rd-party apps
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.15.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-16 12:45 UTC by Paul Medynski
Modified: 2021-03-10 19:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of badly rendered text (78.94 KB, image/png)
2019-05-16 12:45 UTC, Paul Medynski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Medynski 2019-05-16 12:45:19 UTC
Created attachment 120105 [details]
Screenshot of badly rendered text

SUMMARY

In some places in some apps (both builtin and 3rd-party), the text is rendered incorrectly such that the UI shows text inflated, pixelated, and floating outside its intended place.  Also, clicking on actionalble text reveals that the UI _thinks_ the text is being rendered where intended even though it is rendered elsewhere.  Some text entry fields contain default text that suffers from this problem.  In these cases, the default text is floating somewhere below and to the right of the field, and when I type in the field, the text appears floating down and to the right as well.

It's as if the UI layout is occurring correctly, but the actual drawing of the text in some cases has it's (x,y) coordinates multiplied by some factor.

STEPS TO REPRODUCE
1. Launch System Settings.
2. Choose Multimedia -> Audio Volume

OBSERVED RESULT

See screenshot.

EXPECTED RESULT

Text is rendered correctly, where the UI layout intends, and at the correct size.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

4K display (3840x2160) with font DPI set to 132.

The problem persists regardless of what font sizes or DPI I choose.
Comment 1 David Edmundson 2019-05-16 13:56:55 UTC
Can I see the output of the command "env" please
Comment 2 Paul Medynski 2019-05-16 14:10:38 UTC
$ env | sort
COLORFGBG=15;0
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1933669285/bus
DEFAULTS_PATH=/usr/share/gconf/plasma.default.path
DESKTOP_SESSION=plasma
DISPLAY=:0
GPG_AGENT_INFO=/run/user/1933669285/gnupg/S.gpg-agent:0:1
GS_LIB=/home/pmedynski/.fonts
GTK2_MODULES=overlay-scrollbar
GTK_CSD=0
GTK_MODULES=gail:atk-bridge
HOME=/home/pmedynski
KDE_FULL_SESSION=true
KDE_SESSION_UID=1933669285
KDE_SESSION_VERSION=5
KONSOLE_DBUS_SERVICE=:1.248
KONSOLE_DBUS_SESSION=/Sessions/1
KONSOLE_DBUS_WINDOW=/Windows/1
KONSOLE_PROFILE_NAME=Profile 1
KONSOLE_VERSION=181203
KRB5CCNAME=FILE:/tmp/krb5cc_cdc1933669285_S84jgj
LANG=en_CA.UTF-8
LANGUAGE=en_GB
LC_ADDRESS=en_CA.UTF-8
LC_IDENTIFICATION=en_CA.UTF-8
LC_MEASUREMENT=en_CA.UTF-8
LC_MONETARY=en_CA.UTF-8
LC_NAME=en_CA.UTF-8
LC_NUMERIC=en_CA.UTF-8
LC_PAPER=en_CA.UTF-8
LC_TELEPHONE=en_CA.UTF-8
LC_TIME=en_CA.UTF-8
LD_PRELOAD=libgtk3-nocsd.so.0
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LOGNAME=pmedynski
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:*.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:
MANDATORY_PATH=/usr/share/gconf/plasma.mandatory.path
OLDPWD=/home/pmedynski
PAPERSIZE=letter
PATH=/home/pmedynski/bin:/home/pmedynski/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/BDT:/home/pmedynski/android/platform-tools
PROFILEHOME=
PWD=/home/pmedynski
QT_ACCESSIBILITY=1
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_QPA_PLATFORMTHEME=appmenu-qt5
QT_SCREEN_SCALE_FACTORS=VGA-1-1=1.4;eDP-1=1.4;VGA-1=1.4;HDMI-1=1.4;DP-1=1.4;HDMI-2=1.4;DP-2=1.4;HDMI-3=1.4;
SESSION_MANAGER=local/CI0700000001195:@/tmp/.ICE-unix/6815,unix/CI0700000001195:/tmp/.ICE-unix/6815
SHELL=/bin/bash
SHELL_SESSION_ID=2a252fccbe9b4f01a8068dc137b9340d
SHLVL=0
SSH_AGENT_PID=9467
SSH_AUTH_SOCK=/tmp/ssh-XHv5BpNhkaNT/agent.9466
TERM=xterm-256color
USER=pmedynski
_=/usr/bin/env
WINDOWID=125829127
XAUTHORITY=/home/pmedynski/.Xauthority
XCURSOR_SIZE=0
XCURSOR_THEME=breeze_cursors
XDG_CONFIG_DIRS=/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop
XDG_RUNTIME_DIR=/run/user/1933669285
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=8
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session3
XDG_SESSION_TYPE=x11
XDG_VTNR=1
Comment 3 Patrick Silva 2019-05-24 14:39:59 UTC
duplicate of bug 397954?
Comment 4 Paul Medynski 2019-05-24 14:46:51 UTC
It could be, but I also see the issue in 3rd party apps that use Qt.  Will the fix for bug 397954 address all Qt apps as well?
Comment 5 Christoph Feck 2019-05-30 18:23:04 UTC
New information was added with comment #2; changing status for inspection.
Comment 6 Christoph Feck 2019-05-30 18:23:22 UTC
Changing status.
Comment 7 Paul Medynski 2019-06-07 10:53:52 UTC
I found that my display scaling was set to 1.4.  When I scaled back to 1.0, this problem went away.  However, now I'm left with some apps respecting the system font sizes, and others ignoring those and using tiny fonts I can barely see :)
Comment 8 Nate Graham 2021-03-10 19:16:45 UTC
This was an issue with the use of QtQuickControls1 controls, which has been totally fixed by porting to QtQuickControls2 since this bug was filed.