SUMMARY Cannot change Force Font DPI on Wayland STEPS TO REPRODUCE 1. Login to Plasma Wayland and open systemsettings5 2. Select "Font" from sidebar 3. Check "Force Font DPI", and change it to whatever 96 or 120. 4. Then plasmashell will be restarted automatically, and nothing changes. 5. Reopen other applications, nothing changes either. OBSERVED RESULT The font DPI is not changed. EXPECTED RESULT The font DPI should be changed. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro Linux (available in About System) KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.68.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION
It should update on next login. What do you mean by plasmashell will be restarted automatically? That isn't in the code. Please also include output of env and your ~/.xonfig./kdeglobals
(In reply to David Edmundson from comment #1) > It should update on next login. > > What do you mean by plasmashell will be restarted automatically? That isn't > in the code. > > Please also include output of env and your ~/.xonfig./kdeglobals Sorry, the DPI of plasmashell indeed changed on next login, and all of application works normally as well. But plasmashell is restarted automatically. $ env BROWSER=/usr/bin/firefox COLORFGBG=0;15 COLORTERM=truecolor DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-99A1sUFzOu,guid=5d927313903ad90237d176ef5e906bf3 DESKTOP_SESSION=/usr/share/wayland-sessions/plasmawayland DISPLAY=:1 EDITOR=/usr/bin/nano GS_LIB=/home/amazingrise/.fonts GTK_USE_PORTAL=1 HOME=/home/amazingrise KDED_STARTED_BY_KDEINIT=1 KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 KONSOLE_DBUS_SERVICE=:1.77 KONSOLE_DBUS_SESSION=/Sessions/1 KONSOLE_DBUS_WINDOW=/Windows/1 KONSOLE_VERSION=191203 LANG=zh_CN.UTF-8 LANGUAGE=zh_CN LOGNAME=amazingrise MAIL=/var/spool/mail/amazingrise MKLROOT=/opt/intel/mkl MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins OLDPWD=/home/amazingrise PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket PATH=/home/amazingrise/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/amazingrise/software PLASMA_USE_QT_SCALING=1 PROFILEHOME= PWD=/home/amazingrise QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=qt5ct QT_WAYLAND_FORCE_DPI=120 SESSION_MANAGER=local/rise-manjaro:@/tmp/.ICE-unix/82334,unix/rise-manjaro:/tmp/.ICE-unix/82334 SHELL=/usr/bin/zsh SHELL_SESSION_ID=b3430cb083304a65a8ab899b184acd4c SHLVL=1 TERM=xterm-256color USER=amazingrise WAYLAND_DISPLAY=wayland-0 WINDOWID=1 X11LAYOUT=cn X11MODEL=pc105 XCURSOR_SIZE=24 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/home/amazingrise/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=10 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session8 XDG_SESSION_TYPE=wayland XDG_VTNR=4 _=/usr/bin/env ZSH=/home/amazingrise/.oh-my-zsh PAGER=less LESS=-R LSCOLORS=Gxfxcxdxbxegedabagacad 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:*.webp=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:
I've changed title.(because after re-login, everything works well. but plasmashell really restarts.) And here is the output of kdeglobals with some of private settings deleted (history locations and firefox profile): [$Version] update_info=filepicker.upd:filepicker-remove-old-previews-entry,fonts_global.upd:Fonts_Global,fonts_global_toolbar.upd:Fonts_Global_Toolbar,icons_remove_effects.upd:IconsRemoveEffects,kwin.upd:animation-speed [ColorEffects:Disabled] ChangeSelectionColor= Color=56,56,56 ColorAmount=0 ColorEffect=0 ContrastAmount=0.65 ContrastEffect=1 Enable= IntensityAmount=0.1 IntensityEffect=2 [ColorEffects:Inactive] ChangeSelectionColor=true Color=112,111,110 ColorAmount=0.025 ColorEffect=2 ContrastAmount=0.1 ContrastEffect=2 Enable=false IntensityAmount=0 IntensityEffect=0 [Colors:Button] BackgroundAlternate=77,77,77 BackgroundNormal=49,54,59 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=61,174,233 ForegroundInactive=189,195,199 ForegroundLink=41,128,185 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 ForegroundNormal=239,240,241 ForegroundPositive=39,174,96 ForegroundVisited=127,140,141 [Colors:Complementary] BackgroundAlternate=59,64,69 BackgroundNormal=49,54,59 DecorationFocus=30,146,255 DecorationHover=61,174,230 ForegroundActive=246,116,0 ForegroundInactive=175,176,179 ForegroundLink=61,174,230 ForegroundNegative=237,21,21 ForegroundNeutral=201,206,59 ForegroundNormal=239,240,241 ForegroundPositive=17,209,22 ForegroundVisited=61,174,230 [Colors:Selection] BackgroundAlternate=29,153,243 BackgroundNormal=61,174,233 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=252,252,252 ForegroundInactive=239,240,241 ForegroundLink=253,188,75 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 ForegroundNormal=239,240,241 ForegroundPositive=39,174,96 ForegroundVisited=189,195,199 [Colors:Tooltip] BackgroundAlternate=77,77,77 BackgroundNormal=49,54,59 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=61,174,233 ForegroundInactive=189,195,199 ForegroundLink=41,128,185 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 ForegroundNormal=239,240,241 ForegroundPositive=39,174,96 ForegroundVisited=127,140,141 [Colors:View] BackgroundAlternate=49,54,59 BackgroundNormal=35,38,41 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=61,174,233 ForegroundInactive=189,195,199 ForegroundLink=41,128,185 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 ForegroundNormal=239,240,241 ForegroundPositive=39,174,96 ForegroundVisited=127,140,141 [Colors:Window] BackgroundAlternate=77,77,77 BackgroundNormal=49,54,59 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=61,174,233 ForegroundInactive=189,195,199 ForegroundLink=41,128,185 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 ForegroundNormal=239,240,241 ForegroundPositive=39,174,96 ForegroundVisited=127,140,141 [General] BrowserApplication[$e]=!firefox ColorScheme=BreezeDark Name=Breeze Dark XftAntialias=true XftHintStyle=hintslight XftSubPixel=rgb dbfile=/home/amazingrise/.mozilla/firefox/*********.default/places.sqlite fixed=JetBrains Mono,10,-1,5,50,0,0,0,0,0,Regular font=Noto Sans Mono Medium,10,-1,5,57,0,0,0,0,0,Regular menuFont=Noto Sans Mono Medium,10,-1,5,57,0,0,0,0,0,Regular shadeSortColumn=true smallestReadableFont=Noto Sans Mono Medium,9,-1,5,57,0,0,0,0,0,Regular toolBarFont=Noto Sans Mono Medium,10,-1,5,57,0,0,0,0,0,Regular [Icons] Theme=breeze-dark [KDE] AnimationDurationFactor=0.25 LookAndFeelPackage=org.kde.breezedark.desktop ShowDeleteCommand=false ShowIconsInMenuItems=true ShowIconsOnPushButtons=true SingleClick=true contrast=4 widgetStyle=kvantum-dark [KFileDialog Settings] Allow Expansion=false Automatically select filename extension=true Breadcrumb Navigation=false Decoration position=0 LocationCombo Completionmode=5 PathCombo Completionmode=5 Show Bookmarks=false Show Full Path=false Show Inline Previews=true Show Preview=false Show Speedbar=true Show hidden files=false Sort by=Name Sort directories first=true Sort reversed=false Speedbar Width=137 View Style=Simple listViewIconSize=15 [KScreen] ScaleFactor=1 ScreenScaleFactors=HDMI-0=1;eDP-1-1=1;DP-1-1=1;HDMI-1-2=1;DP-1-2=1;HDMI-1-3=1; [KShortcutsDialog Settings] Dialog Size=659,480 [PreviewSettings] MaximumRemoteSize=0 [QtQuickRendererSettings] SceneGraphBackend=opengl [Toolbar style] ToolButtonStyle=TextBesideIcon ToolButtonStyleOtherToolbars=TextBesideIcon [WM] activeBackground=49,54,59 activeBlend=255,255,255 activeFont=Noto Sans Mono Medium,10,-1,5,57,0,0,0,0,0,Regular activeForeground=239,240,241 inactiveBackground=49,54,59 inactiveBlend=75,71,67 inactiveForeground=127,140,141
I tried to run plasmashell from terminal, and after changing DPI, it shows: wl_registry@20: error 0: invalid global org_kde_kwin_blur_manager (50) The Wayland connection experienced a fatal error: 协议错误 KCrash: Attempting to start /usr/bin/plasmashell from kdeinit sock_file=/run/user/1000/kdeinit5__1 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = plasmashell path = /usr/bin pid = 84241 KCrash: Arguments: /usr/bin/plasmashell [1] 84241 abort (core dumped) plasmashell (Note: The four chinese character may be "protocol error" in English) Thanks.
on Wayland session of neon unstable, plasma crashes when a fonts setting is changed.
[1773409.435] -> org_kde_kwin_blur_manager@38.create(new id org_kde_kwin_blur@118, wl_surface@167) [1773409.460] -> wl_compositor@4.create_region(new id wl_region@441) [1773409.472] -> wl_region@441.add(1, 0, 538, 1) [1773409.487] -> wl_region@441.add(0, 1, 540, 473) [1773409.502] -> org_kde_kwin_blur@118.set_region(wl_region@441) [1773409.509] -> org_kde_kwin_blur@118.commit() [1773409.537] -> org_kde_kwin_contrast_manager@27.create(new id org_kde_kwin_contrast@439, wl_surface@167) [1773409.547] -> wl_compositor@4.create_region(new id wl_region@437) [1773409.552] -> wl_region@437.add(1, 0, 538, 1) [1773409.559] -> wl_region@437.add(0, 1, 540, 473) [1773409.565] -> org_kde_kwin_contrast@439.set_region(wl_region@437) [1773409.569] -> org_kde_kwin_contrast@439.set_contrast(0.199219) [1773409.576] -> org_kde_kwin_contrast@439.set_intensity(0.398438) [1773409.583] -> org_kde_kwin_contrast@439.set_saturation(1.699219) [1773409.588] -> org_kde_kwin_contrast@439.commit() [1773431.467] wl_display@1.delete_id(485) [1773431.489] wl_display@1.delete_id(210) [1773431.497] wl_display@1.error(wl_display@1, 0, "invalid object 118") which as an error makes no sense as we've clearly just created object 118.
Kwin also resets on font changes. Which means we hit a problem I can reproduce here: https://phabricator.kde.org/P582
*** Bug 419877 has been marked as a duplicate of this bug. ***
Should be the same root cause as Bug 414834. *** This bug has been marked as a duplicate of bug 414834 ***