Skip to content

Settings dialog text blurred after setting QT_SCALE_FACTOR #765

@kulothunganug

Description

@kulothunganug

Compositor

  • niri
  • Hyprland
  • dwl (MangoWC)
  • sway
  • Other (specify)

Distribution Fedora 43

dms version v0.5.2

Description

Settings and app launcher modal text/icon content looks blurry after setting QT_SCALE_FACTOR=1.2 env

Image Image

I was using dms with 100% scaling which has too tiny icons and texts as a workaround I increased the font scaling in dms settings which only increased the text size not icon size for last month.

But today I was searching for the fix and found QT_SCALE_FACTOR "1.2" fixes the icon size issue but makes dialog text looks blurred.

Expected Behavior

Side Panel itself, main dialog, Control Center texts are looking sharp

Image Image

dms settings dialog with 100% scaling
Image

Steps to Reproduce

  1. Add in niri config
environment {
  ....
  QT_SCALE_FACTOR "1.2"
}
  1. Restart shell by logging out and in

Error Messages/Logs

DMS logs, doesnt seem to be related to the issue, adding it for just in case
nohup: ignoring input
dms v0.5.2
  INFO  go: Spawning quickshell with -p /usr/share/quickshell/dms
                                  
██████╗  █████╗ ███╗   ██╗██╗  ██╗
██╔══██╗██╔══██╗████╗  ██║██║ ██╔╝
██║  ██║███████║██╔██╗ ██║█████╔╝ 
██║  ██║██╔══██║██║╚██╗██║██╔═██╗ 
██████╔╝██║  ██║██║ ╚████║██║  ██╗
╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝
  INFO  go: DMS API Server listening on: /run/user/1000/danklinux-40578.sock
  INFO  go: API Version: 18
  INFO  go: Protocol: JSON over Unix socket
  INFO  go: Request format: {"id": <any>, "method": "...", "params": {...}}
  INFO  go: Response format: {"id": <any>, "result": {...}} or {"id": <any>, "error": "..."}
  INFO  go:
  INFO  go: Initializing managers...
  INFO  go:
  INFO  go: Attempting to initialize Wayland gamma control...
  INFO  go: setupRegistry: starting registry setup
  INFO  go: setupRegistry: found zwlr_gamma_control_manager_v1
  INFO  go: setupRegistry: gamma control manager bound successfully
  INFO  go: Bound wl_output id=5 registry_name=42
  INFO  go: Output 5 name: DP-2
  INFO  go: setupRegistry: discovered gamma_manager=true, outputs=1
  INFO  go: setupRegistry: filtered 1 physical outputs from 1 total outputs
  INFO  go: setupRegistry: completed successfully (gamma controls will be initialized when enabled)
  INFO  go: Network backend detection: NetworkManager present. Using NM API.
  INFO  go: D-Bus monitoring for suspend/resume events enabled
  WARN  go: Failed to initialize loginctl manager: failed to get session path: No session '5' known
  WARN  go: Loginctl manager unavailable: failed to get session path: No session '5' known
  INFO  go: Wayland gamma control initialized successfully
  INFO  go: Attempting to initialize DWL IPC...
  INFO  go: DWL: starting registry setup
  INFO  go: DWL: Bound wl_output id=9 registry_name=42
  INFO  go: DWL: manager not found in registry
  INFO  go: Attempting to initialize ExtWorkspace...
  INFO  go: ExtWorkspace: starting registry setup
  INFO  go: ExtWorkspace: registry setup complete (events will be processed async)
  INFO  go: ExtWorkspace initialized successfully
  INFO  go: Attempting to initialize WlrOutput management...
  INFO  go: WlrOutput: starting registry setup
  INFO  go: WlrOutput: registry setup complete (events will be processed async)
  INFO  go: WlrOutput management initialized successfully
  INFO  go: Wayland event dispatcher started
  INFO  go:
  INFO  go: Ready! Capabilities: [plugins gamma extworkspace wlroutput]
  INFO  go: Brightness manager initialized
  INFO  go: ExtWorkspace: found ext_workspace_manager_v1
  WARN  go: Failed to initialize evdev manager: insufficient permissions to access input devices
  INFO  go: ExtWorkspace: manager bound successfully
  INFO  go: WlrOutput: found zwlr_output_manager_v1
  INFO  go: WlrOutput: manager bound successfully
  INFO  go: [BluezManager] found adapter: /org/bluez/hci0
  INFO  go: Logind backend initialized - will use for brightness control
  INFO  go: Sysfs backend initialized with 4 devices
  INFO  go: [BluezAgent] registered at /com/danklinux/bluez/agent with capability KeyboardDisplay
  INFO  go: Bluez manager initialized
  INFO  go: Freedesktop manager initialized
�[32m  INFO�[0m: Launching config: "/usr/share/quickshell/dms/shell.qml"
�[32m  INFO�[0m: Shell ID: "85ecfc916fcda75f6106502e8dabb0ab" Path ID "85ecfc916fcda75f6106502e8dabb0ab"
�[32m  INFO�[0m: Saving logs to "/run/user/1000/quickshell/by-id/ebvl1xy5t/log.qslog"
  INFO  go: [SecretAgent] Registered with NetworkManager (id=com.danklinux.NMAgent, unique name=:1.379, fixed path=/org/freedesktop/NetworkManager/SecretAgent)
  INFO  go: Network manager initialized
�[32m  INFO�[97m qml�[0m: AudioService: Sound effects enabled
�[32m  INFO�[97m qml�[0m: NetworkService: Initializing...
�[33m  WARN�[97m qml�[0m: PolkitService: Polkit not available - authentication prompts disabled. This requires a newer version of Quickshell.
�[33m  WARN�[97m qml�[0m: IdleService: IdleMonitor not available - power management disabled. This requires a newer version of Quickshell.
�[33m  WARN�[97m scene�[0m: QML Connections at @Modals/PolkitAuthModal.qml[78:5]: Detected function "onIsResponseRequiredChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
�[33m  WARN�[97m scene�[0m: QML Connections at @Modals/PolkitAuthModal.qml[78:5]: Detected function "onAuthenticationSucceeded" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
�[33m  WARN�[97m scene�[0m: QML Connections at @Modals/PolkitAuthModal.qml[78:5]: Detected function "onAuthenticationFailed" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
�[33m  WARN�[97m scene�[0m: QML Connections at @Modals/PolkitAuthModal.qml[78:5]: Detected function "onAuthenticationRequestCancelled" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
�[33m  WARN�[97m quickshell.I3.ipc�[0m: $I3SOCK is unset. Trying $SWAYSOCK.
�[33m  WARN�[97m quickshell.I3.ipc�[0m: $SWAYSOCK and I3SOCK are unset. Cannot connect to socket.
�[33m  WARN�[0m: $HYPRLAND_INSTANCE_SIGNATURE is unset. Cannot connect to hyprland.
�[32m  INFO�[0m: Configuration Loaded
�[32m  INFO�[97m qt.multimedia.ffmpeg�[0m: Using Qt multimedia with FFmpeg version 7.1.2 GPL version 3 or later
�[33m  WARN�[0m: parseSampleFormat: parse error "Object: size 144, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)" "  Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000" "    Id 1        (Spa:Enum:MediaType:audio)" "  Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000" "    Id 3        (Spa:Enum:MediaSubtype:iec958)" "  Prop: key Spa:Pod:Object:Param:Format:Audio:iec958Codec (65542), flags 00000000" "    Choice: type Spa:Enum:Choice:Enum, flags 00000000 24 4" "      Id 1        (Spa:Enum:AudioIEC958Codec:PCM)" "      Id 1        (Spa:Enum:AudioIEC958Codec:PCM)" "  Prop: key Spa:Pod:Object:Param:Format:Audio:rate (65539), flags 00000000" "    Choice: type Spa:Enum:Choice:Range, flags 00000000 28 4" "      Int 48000" "      Int 32000" "      Int 48000"
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:00.06, bitrate: 1420 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
�[32m  INFO�[97m qml�[0m: Theme: Dynamic colors file loaded successfully
�[33m  WARN�[97m qml�[0m: I18n: Falling back to built-in English strings
�[33m  WARN�[97m quickshell.dbus�[0m: Could not launch service org.freedesktop.UPower.PowerProfiles: QDBusError(org.freedesktop.DBus.Error.ServiceUnknown, The name is not activatable)
�[33m  WARN�[97m quickshell.service.powerprofiles�[0m: Could not start PowerProfilesDaemon. The PowerProfiles service will not work.
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:00.31, bitrate: 1413 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:03.00, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:01.03, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
�[33m  WARN�[97m quickshell.dbus�[0m: Could not launch service org.freedesktop.UPower: QDBusError(org.freedesktop.DBus.Error.ServiceUnknown, The name is not activatable)
�[33m  WARN�[97m quickshell.service.upower�[0m: Could not start UPower. The UPower service will not work.
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:03.00, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
�[32m  INFO�[97m qml�[0m: Detected distribution: Fedora Linux 43 (Forty Three)
�[32m  INFO�[97m qml�[0m: Theme: Setting desired theme - image mode: dark type: scheme-tonal-spot
�[33m  WARN�[97m qml�[0m: SystemUpdate: No update checker found. Will use package manager.
�[32m  INFO�[97m qml�[0m: NetworkService: Network capability detected, using DMSNetworkService
�[32m  INFO�[97m qml�[0m: NetworkService: Switched to DMSNetworkService, networkAvailable: true
�[32m  INFO�[97m qml�[0m: DMSService: Connected (API v18) - ["plugins","network","freedesktop","gamma","bluetooth","extworkspace","brightness","wlroutput"]
�[32m  INFO�[97m qml�[0m: WlrOutputService: wlr-output-management capability detected
�[32m  INFO�[97m qml�[0m: ExtWorkspaceService: ext-workspace capability detected
�[33m  WARN�[97m scene�[0m: @Modals/PolkitAuthModal.qml[79:9]: Unable to assign [undefined] to QObject*
�[32m  INFO�[97m qml�[0m: Theme: Dynamic colors file loaded successfully
�[32m  INFO�[97m qml�[0m: DankBar: Plugin loaded: calculator
�[32m  INFO�[97m qml�[0m: DankBar: Plugin loaded: emojiLauncher
�[32m  INFO�[97m qml�[0m: DankBar: Plugin loaded: webSearch
�[32m  INFO�[97m qml�[0m: Theme: Dynamic colors file loaded successfully
�[32m  INFO�[97m qml�[0m: SessionService: Native inhibitor available: false
�[32m  INFO�[97m qml�[0m: Theme: Matugen worker completed successfully
�[32m  INFO�[97m qml�[0m: Theme: Dynamic colors file loaded successfully
  INFO  go: DDC backend initialized

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions