albertlauncher / albert

A fast and flexible keyboard launcher
https://albertlauncher.github.io
Other
7.17k stars 303 forks source link

Launcher scaling is blurry with platform xcb #1395

Open flmann opened 3 months ago

flmann commented 3 months ago

Package source

AUR

App logs

> albert --platform xcb --report                         
       Albert version: 0.23.0
           Build date: Apr 23 2024 20:50:55
           Qt version: 6.6.2
            Build ABI: x86_64-little_endian-lp64
   Build architecture: x86_64
     CPU architecture: x86_64
          Kernel type: linux
       Kernel version: 6.6.26-1-MANJARO
                   OS: Manjaro Linux
              OS type: manjaro
           OS version: unknown
        Platform name: xcb
           Style name: fusion
     Available styles: Windows, Fusion
           Icon theme: hicolor
                 Font: Sans Serif,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
             Language: English
               Locale: en_US
      Binary location: /usr/bin/albert
          Working dir: /home/florian
            Arguments: albert --report
                $LANG: en_US.UTF-8
$QT_QPA_PLATFORMTHEME:
                $PATH: /usr/local/texlive/2023/bin/x86_64-linux:/home/florian/.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
               $SHELL: /bin/bash
    $XDG_SESSION_TYPE: wayland
 $XDG_CURRENT_DESKTOP:
     $DESKTOP_SESSION: sway
 $XDG_SESSION_DESKTOP:

Current Behavior

When running albert with QT_QPA_PLATFORM=xcb albert or albert --platform xcb the launcher is blurry/pixelated on my HiDPI screen, as I'm scaling the display output by 2x.

However, when launching albert with albert --platform wayland the launcher is not blurry but I'm facing the same issues described in #1321.

Expected Behavior

The launcher to be scaled at the correct DPI.

Setting QT_AUTO_SCREEN_SCALE_FACTOR and QT_SCALE_FACTOR also had not effect.

Anything else?

No response

ManuelSchneid3r commented 3 months ago

IMAGE 2024-05-15 15:57:35 IMAGE 2024-05-15 15:57:38

ManuelSchneid3r commented 3 months ago

How do you scale it?

flmann commented 3 months ago

In my sway config

output DP-3 resolution 3840x2160 position 0,0 scale 2

ManuelSchneid3r commented 2 weeks ago

Since I dont have the hardware to reproduce it id be glad to receive PRs