Country flag icon size in system tray

Hello there, I have ridiculously tiny country flag in system tray, does anybody know how to fix it?
It’s Fedora 42 KDE.

What widget is that icon for?

It’s standard Plasma system tray entry, it is called Keyboard layout.


I do not see this on my kde plasma. The flag is bigger as you are expecting.
Which version of plasma do you have installed?
Is your software up to date?

I have 6.3.5 as reported by rpm -q plasma-workspace.

Sorry, I got confused in initial post, I have Fedora Rawhide (43) with Plasma 6.3.9, just checked live Fedora 42 KDE and there are flags icons of normal size.
But if anybody could help with icons size in Fedora 43, it would be nice.

I guess Rawhide will get Plasma 6.4 (just released by KDE) soon. Maybe worth waiting to see if that fixes it?

(Edit - looks like 6.4 is already available in Rawhide as per plasma-workspace - Fedora Packages)

And build for f41 and f42 as well.

Got Plasma 6.4 but flag’s icons are still small

Could be something about your config and hardware maybe?
What is the output of kscreen-doctor -o?
Are you scalling the screen?

It’s fresh install and the problem appears only in F43 and doesn’t in any other distro, so it’s unlikely caused by config or hardware.
Yes, I’m scaling the screen to 200% with 3200:2000 resolution.
When I’m switching off the scaling (to 100%) for test and increasing the height of the panel, icons looks normal, but I need scaling because otherwise everything is too small.
The output of kscreen-doctor -o:

Output: 1 eDP-1 228af79a-840b-4c3c-aaaa-56293290f731
        enabled
        connected
        priority 1
        Panel
        replication source:0
        Modes:  1:3200x2000@90*!  2:3200x2000@60  3:1600x1200@60  4:1600x1200@90  5:1280x1024@60  6:1280x1024@90  7:1024x768@60  8:1024x768@90  9:2560x1600@60  10:2560x1600@90  11:1920x1200@60  12:1920x1200@90  13:1280x800@60  14:1280x800@90  15:3200x1800@60  16:3200x1800@90  17:2880x1620@60  18:2880x1620@90  19:2560x1440@60  20:2560x1440@90  21:1920x1080@60  22:1920x1080@90  23:1600x900@60  24:1600x900@90  25:1368x768@60  26:1368x768@90  27:1280x720@60  28:1280x720@90 
        Geometry: 0,0 1600x1000
        Scale: 2
        Rotation: 1
        Overscan: 0
        Vrr: Never
        RgbRange: Automatic
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
        Color resolution: automatic (10), range: [6; 12] bits per color
        Allow EDR: always

I am scaling a 4k display by 125% and seeing good flag size.
I wonder if the icon is only handled well in some scale settings.
Could you test and see if there is a correlation at some scale factors but not others?

Actually, with any scaling other than 100% the flag icon is not of proper size. Seems like it is not being scaled at all.

In the keyboard-layout-settings you can also choose for the text US. When you do that is it also very small, or is the text readable?

No, the text is normal in size.
Edit: for me it looks like some set of scalable flag icons is missed, but I’m not sure what to check.

I tried scaling factors of 100%, 125%, 150% and 200% and the flag scaled in the task bar as well as the configure dialog.

I wonder what the difference between what you are testing and what I’m testing is?

Here is my systems details

$ inxi -Fzxx
System:
  Kernel: 6.14.9-300.fc42.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
  Console: pty pts/4 DM: SDDM Distro: Fedora Linux 42 (KDE Plasma Desktop Edition)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME Z690-P WIFI v: Rev 1.xx serial: <superuser required> part-nu: SKU
    UEFI: American Megatrends v: 3401 date: 06/28/2024
CPU:
  Info: 12-core (8-mt/4-st) model: 12th Gen Intel Core i7-12700K bits: 64 type: MST AMCP
    arch: Alder Lake rev: 2 cache: L1: 1024 KiB L2: 12 MiB L3: 25 MiB
  Speed (MHz): avg: 800 min/max: 800/4900:5000:3800 cores: 1: 800 2: 800 3: 800 4: 800 5: 800
    6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 13: 800 14: 800 15: 800 16: 800 17: 800
    18: 800 19: 800 20: 800 bogomips: 144383
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT]
    vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports:
    active: DP-2 empty: DP-1, HDMI-A-1, HDMI-A-2, Writeback-1 bus-ID: 08:00.0 chip-ID: 1002:747e
  Display: unspecified server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    compositor: kwin_wayland driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
    alternate: nv gpu: amdgpu tty: 122x36
  Monitor-1: DP-2 model: Dell U3223QE res: 3840x2160 dpi: 140 diag: 801mm (31.5")
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: radeonsi wayland: drv: radeonsi inactive: x11
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 25.0.7 note: console (EGL sourced)
    renderer: llvmpipe (LLVM 20.1.6 256 bits), AMD Radeon RX 7800 XT (radeonsi navi32 LLVM 20.1.6
    DRM 3.61 6.14.9-300.fc42.x86_64)
  API: Vulkan v: 1.4.313 surfaces: N/A device: 0 type: discrete-gpu driver: mesa radv
    device-ID: 1002:747e device: 1 type: cpu driver: mesa llvmpipe device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,kscreen-doctor
    gpu: nvidia-settings wl: wayland-info,wlr-randr x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:7ad0
  Device-2: Advanced Micro Devices [AMD/ATI] Navi 31 HDMI/DP Audio driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 08:00.1 chip-ID: 1002:ab30
  API: ALSA v: k6.14.9-300.fc42.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.4.5 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
Network:
  Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:7af0
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: 5000 bus-ID: 05:00.0 chip-ID: 10ec:8125
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: bridge1 state: up speed: 1000 Mbps duplex: unknown mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1
    bus-ID: 1-14:7 chip-ID: 8087:0026
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2 lmp-v: 11
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd v: 0.6
    bus-ID: 00:0e.0 chip-ID: 8086:467f
Drives:
  Local Storage: total: 2.73 TiB used: 938.21 GiB (33.6%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB speed: 63.2 Gb/s
    lanes: 4 serial: <filter> temp: 35.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 27.9 C
Partition:
  ID-1: / size: 1.82 TiB used: 937.84 GiB (50.4%) fs: btrfs dev: /dev/dm-0
    mapped: luks-904db66b-db23-4719-bbf6-fb596c23d831
  ID-2: /boot size: 973.4 MiB used: 366 MiB (37.6%) fs: ext4 dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat dev: /dev/nvme0n1p1
  ID-4: /home size: 1.82 TiB used: 937.84 GiB (50.4%) fs: btrfs dev: /dev/dm-0
    mapped: luks-904db66b-db23-4719-bbf6-fb596c23d831
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 32.0 C mobo: 32.0 C gpu: amdgpu temp: 41.0 C mem: 52.0 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 475 fan-3: 0 fan-4: 0 fan-5: 0 fan-6: 0 gpu: amdgpu fan: 0
Info:
  Memory: total: 32 GiB available: 31.14 GiB used: 4.54 GiB (14.6%)
  Processes: 485 Power: uptime: 36m wakeups: 0 Init: systemd v: 257 target: graphical (5)
    default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm Compilers: gcc: 15.1.1 Shell: Bash v: 5.2.37
    running-in: pty pts/4 inxi: 3.3.38

No idea and like I said the issue doesn’t appears in any other distro.

System:
  Kernel: 6.16.0-0.rc2.24.fc43.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 15.1.1
  Desktop: KDE Plasma v: 6.4.0 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 43 (KDE Plasma Desktop Edition Prerelease)
Machine:
  Type: Laptop System: TIMI product: Redmi Book Pro 15 2022 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: TIMI model: TM2111 v: V1.0 serial: <superuser required>
    part-nu: TM2111-39178 UEFI: TIMI v: RMAAD5B0P1010 date: 06/30/2023
Battery:
  ID-1: BAT0 charge: 61.9 Wh (100.0%) condition: 61.9/72.0 Wh (85.9%)
    volts: 17.5 min: N/A model: SUNWODA R15B06W serial: <filter>
    status: not charging
CPU:
  Info: 10-core (6-mt/4-st) model: 12th Gen Intel Core i7-12650H bits: 64
    type: MST AMCP arch: Alder Lake rev: 3 cache: L1: 864 KiB L2: 9.5 MiB
    L3: 24 MiB
  Speed (MHz): avg: 400 min/max: 400/4600:4700:3500 cores: 1: 400 2: 400
    3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
    13: 400 14: 400 15: 400 16: 400 bogomips: 86016
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-P GT1 [UHD Graphics] vendor: Xiaomi driver: i915
    v: kernel arch: Xe ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4,
    HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:46a3
  Device-2: NVIDIA GA107M [GeForce RTX 2050] vendor: Xiaomi driver: nouveau
    v: kernel arch: Turing pcie: speed: 16 GT/s lanes: 4 bus-ID: 01:00.0
    chip-ID: 10de:25a9
  Device-3: SunplusIT XiaoMi USB 2.0 Webcam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-4:2 chip-ID: 2b7e:b557
  Display: wayland server: Xwayland v: 24.1.6 compositor: kwin_wayland
    driver: gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: TL156MDMP11-0 res: 3200x2000 hz: 90 dpi: 242
    diag: 396mm (15.6")
  API: EGL v: 1.5 platforms: device: 0 drv: zink device: 1 drv: iris
    device: 2 drv: swrast gbm: drv: zink surfaceless: drv: zink wayland:
    drv: iris x11: drv: iris
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.1.3 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
    device-ID: 8086:46a3 display-ID: :0.0
  API: Vulkan v: 1.4.313 surfaces: N/A device: 0 type: integrated-gpu
    driver: mesa intel device-ID: 8086:46a3 device: 1 type: discrete-gpu
    driver: mesa nvk device-ID: 10de:25a9 device: 2 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdriinfo,
    xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Xiaomi
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8
  API: ALSA v: k6.16.0-0.rc2.24.fc43.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.4.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8852BE PCIe 802.11ax Wireless Network
    driver: rtw89_8852be v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000
    bus-ID: 2c:00.0 chip-ID: 10ec:b852
  IF: wlp44s0 state: up mac: <filter>
Bluetooth:
  Device-1: Opticis Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-10:4 chip-ID: 0cb8:c559
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: N/A
Drives:
  Local Storage: total: 476.94 GiB used: 7.51 GiB (1.6%)
  ID-1: /dev/nvme0n1 vendor: Foresee model: XP2000F512G size: 476.94 GiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 32.9 C
Partition:
  ID-1: / size: 84.94 GiB used: 6.87 GiB (8.1%) fs: btrfs dev: /dev/nvme0n1p6
  ID-2: /boot size: 973.4 MiB used: 617.5 MiB (63.4%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 36.1 MiB (6.0%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 84.94 GiB used: 6.87 GiB (8.1%) fs: btrfs
    dev: /dev/nvme0n1p6
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  Src: /sys System Temperatures: cpu: 38.0 C mobo: N/A
  Fan Speeds (rpm): N/A
  Power: 12v: N/A 5v: 5 3.3v: N/A vbat: N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.32 GiB used: 4 GiB (26.1%)
  Processes: 388 Power: uptime: 11m wakeups: 0 Init: systemd v: 257
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm Compilers: N/A Shell: Bash
    v: 5.2.37 running-in: konsole inxi: 3.3.38

I see that you are using the nouveau driver for the nvidia GPU.
Does the problem go away if you use the RPMfusion nvidia drivers?

Didn’t try it because nvidia drivers situation in Rawhide a bit more complicated than with regular releases, I’ll try.