launching firefox with GTK_USE_PORTAL=1 to get the Plasma file dialog breaks font rendering. Emerging xdg-desktop-portal-gtk fixes the font rendering but does not show the kde file dialog. Reproducible: Always
my env variables: SHELL=/bin/zsh XDG_CONFIG_DIRS=/etc/xdg LESS=-R -M --shift 5 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session3 JDK_HOME=/home/vladi/.gentoo/java-config-2/current-user-vm CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild DISTCC_VERBOSE=0 I3SOCK=/run/user/1000/sway-ipc.1000.8135.sock JAVA_HOME=/home/vladi/.gentoo/java-config-2/current-user-vm ANT_HOME=/usr/share/ant DESKTOP_SESSION=KDE MOZ_DBUS_REMOTE=1 XCURSOR_SIZE=24 GPG_TTY=/dev/pts/1 EDITOR=/usr/bin/vi GOBIN=/home/vladi/bin XDG_SEAT=seat0 PWD=/home/vladi CONFIG_PROTECT=/usr/share/gnupg/qualified.txt /usr/share/config LOGNAME=vladi XDG_SESSION_DESKTOP= QT_QPA_PLATFORMTHEME=Plasma SAL_FORCEDPI=192 XDG_SESSION_TYPE=wayland DISTCC_TCP_CORK= MANPATH=/home/vladi/.gentoo/java-config-2/current-user-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.38/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/14/share/man BEMENU_BACKEND=wayland _=/bin/env OPENCL_PROFILE=ocl-icd UNCACHED_ERR_FD= MOTD_SHOWN=pam HOME=/home/vladi LANG=en_US.utf8 _JAVA_AWT_WM_NONREPARENTING=1 XDG_CURRENT_DESKTOP=sway VMHANDLE=blackdown-jdk-1.4.2 SWAYSOCK=/run/user/1000/sway-ipc.1000.8135.sock WAYLAND_DISPLAY=wayland-1 GENERATION=2 OPENGL_PROFILE=xorg-x11 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 DISTCC_FALLBACK=1 DCC_EMAILLOG_WHOM_TO_BLAME= QT_GRAPHICSSYSTEM=raster INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.38/info:/usr/share/info VAGRANT_DEFAULT_PROVIDER=virtualbox MOZ_GMP_PATH=/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed JAVAC=/home/vladi/.gentoo/java-config-2/current-user-vm/bin/javac XDG_SESSION_CLASS=user LESSOPEN=|lesspipe %s USER=vladi PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket MANPAGER=manpager DISPLAY=:1 SHLVL=1 DISTCC_SAVE_TEMPS=0 MOZ_ENABLE_WAYLAND=1 PAGER=/usr/bin/less DISTCC_SSH= XDG_VTNR=9 XDG_SESSION_ID=2 XDG_RUNTIME_DIR=/run/user/1000 XSESSION=KDE-4 GCC_SPECS= GSETTINGS_BACKEND=dconf DISTCC_ENABLE_DISCREPANCY_EMAIL= XDG_DATA_DIRS=/usr/local/share:/usr/share PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/bin:/usr/games/bin:/home/vladi/bin:/opt/android-sdk-update-manager/platform-tools/:/home/vladi/.cargo/bin:PATH=/home/vladi/.local/bin:/usr/local/bin:/usr/local/sbin:/home/vladi/.cargo/bin:/home/vladi/.local/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/14/bin:/usr/games/bin:/opt/vmware/server/console/bin:/home/vladi/.cargo/bin GTK_USE_PORTAL=1 SAL_USE_VCLPLUGIN=kf5 MAIL=/var/mail/vladi OLDPWD=/home/vladi TERM=foot COLORTERM=truecolor ZPFX=/home/vladi/.zcomet/polaris KEYTIMEOUT=1 HISTSIZE=999999999 SAVEHIST=999999999 HISTFILE=/home/vladi/.zsh_history SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOoU08N/agent.6702 SSH_AGENT_PID=6703 STARSHIP_SHELL=zsh STARSHIP_SESSION_KEY=3117622730179853
Portage 3.0.38.1 (python 3.10.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12.2.0, glibc-2.35-r8, 6.0.0 x86_64) ================================================================= System uname: Linux-6.0.0-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.35 KiB Mem: 16302248 total, 10743768 free KiB Swap: 16382972 total, 16382972 free Timestamp of repository gentoo: Fri, 07 Oct 2022 14:33:02 +0000 Head commit of repository gentoo: 0aa0389d903988bd949f3acfae04ec0b1c08d739 Timestamp of repository guru: Fri, 07 Oct 2022 13:17:44 +0000 Head commit of repository guru: 7875e87df35ee349133fb711e05fd165c2110f37 Head commit of repository lto-overlay: 9e7b681b98b77e1e7f6ceff24a0d05f5798ec3e7 Head commit of repository mv: 48f4092a18c1256021738956796e511799f65f3f Head commit of repository steam-overlay: 21d546f24e361f1e479a998cb6d25fc147004aa5 sh bash 5.1_p16-r1 ld GNU ld (Gentoo 2.38 p4) 2.38 distcc 3.4 x86_64-pc-linux-gnu [enabled] ccache version 4.5.1 [disabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r1::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.10.6_p4::gentoo dev-lang/rust: 1.62.1::gentoo dev-util/ccache: 4.5.1::gentoo dev-util/cmake: 3.23.3::gentoo dev-util/meson: 0.62.2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.45.2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r2::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.6-r1::gentoo sys-devel/gcc: 12.2.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 14.0.6::gentoo sys-devel/llvm: 14.0.6-r2::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo x-portage location: /usr/local/portage masters: gentoo priority: 0 lto-overlay location: /usr/local/portage/lto-overlay sync-type: git sync-uri: https://github.com/InBetweenNames/gentooLTO.git masters: gentoo mv priority: 50 mv location: /usr/local/portage/mv sync-type: git sync-uri: https://cgit.gentoo.org/user/mv.git/ masters: gentoo priority: 50 steam-overlay location: /usr/local/portage/steam sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=znver3 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=znver3 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en bg" MAKEOPTS="-j24 -l13" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/cache/gentoo" SHELL="/bin/zsh" USE="X a52 aac aalib acl acpi activities adns aio alsa amd64 asf bash-completion bluetooth branding btrfs bzip2 cairo caps cdda cdr chroot cli crypt cryptsetup cups curl custom-cflags custom-optimization dav1d dbus declarative device-mapper dri dts dv dvd dvdr egl elogind encode exif faac faad ffmpeg flac fortran gbm gdbm gif glamor gles gles2 glib gold gpg graphite gstreamer gui harfbuzz hwaccel iconv icu imap inotify introspection io-uring iproute2 ipv6 irc ithreads iwd jpeg jpeg2k jumbo-build kde kerberos kwallet lcms libaom libglvnd libinput libnotify libtirpc lto lzo mad maps matroska mdnsresponder-compat melt mng mp3 mp4 mpd mpeg mtp multilib ncurses networkmanager nls nptl offensive ogg ogm opengl openmp opus otr ozone pam pango pcre pdf pdfimport pgo pic pipewire plasma png policykit ppds pulseaudio qml qt5 rar rav1e rdp readline rpc sasl screencast sdl seccomp speex spell split-usr sql ssl startup-notification svg system-av1 system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-llvm system-mesa system-png system-webp theora threads thumbnail tidy tiff truetype udev udisks unicode upower usb user-session v4l vaapi vcd vim-syntax vnc vorbis vpx vulkan wayland webp widgets x264 xattr xcb xml xv xvfb xvid zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gnat_2020" ALSA_CARDS="hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="keyboard libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" SANE_BACKENDS="fujitsu" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Wayland or X11? Because I see no issue on the latter.
I also don't see it in Plasma Wayland session.
Did you try with these? https://wiki.archlinux.org/title/firefox#KDE_integration especially with the about:config parts. I guess it'd be good to know what use flag your firefox was emerged with, emerge -pv --nodeps firefox But yeah, no clue about the issue itself. Never ran into it. First thing it sounds like some flatpak related issue...
(In reply to Joonas Niilola from comment #5) > Did you try with these? > https://wiki.archlinux.org/title/firefox#KDE_integration > especially with the about:config parts. > > I guess it'd be good to know what use flag your firefox was emerged with, > emerge -pv --nodeps firefox > > But yeah, no clue about the issue itself. Never ran into it. First thing it > sounds like some flatpak related issue... SWay Waylan and Plasma Wayland both.
(In reply to Joonas Niilola from comment #5) > Did you try with these? > https://wiki.archlinux.org/title/firefox#KDE_integration > especially with the about:config parts. > > I guess it'd be good to know what use flag your firefox was emerged with, > emerge -pv --nodeps firefox > > But yeah, no clue about the issue itself. Never ran into it. First thing it > sounds like some flatpak related issue... Yes I modified about:config vars like in wiki and use that env var. Now with xdg-desktop-portal-gtk emerged I do have good font rendering but file picker is still gtk one. Installed versions: 105.0.2(rapid)(05:02:19 PM 10/05/2022)(X clang dbus gmp-autoupdate hwaccel lto openh264 pgo pulseaudio screencast system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-png system-webp wayland -debug -eme-free -geckodriver -hardened -jack -libproxy -selinux -sndio -system-python-libs -wifi CPU_FLAGS_ARM="-neon" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW")
Please check back with up to date versions of Firefox and Plasma.