1Password doesn't respect GDK_DPI_SCALE and GDK_SCALE

milad
milad
Community Member

I set GDK_DPI_SCALE=0.5 and GDK_SCALE=2 in my .xinitrc to deal with HiDPI and it seems that 1Password has started ignoring this and opens the application zoomed in (2X or 4X I'm not sure). If I invoke 1password with GDK_DPI_SCALE=1 GDK_SCALE=1 1password the problem goes away.

I'm not sure if 1Password has any Chromium inside it but Chromium introduced a bug recently that had similar effects and while they have fixed in their newer revisions it percolated to some other chromium-based applications (e.g. Brave and Slack). Given that 1Password did not have this issue before maybe they're related?

Update:
I'm using i3 on Xorg with the following relevant bits in my xinitrc:

xrandr --output DP-0 --mode 3840x2160 --pos 0x0 --primary --scale 1.3x1.3
export GDK_SCALE=2
export GDK_DPI_SCALE=0.5

1Password Version: 8.1.1
Extension Version: Not Provided
OS Version: Linux 5.10.56-1

Comments

  • Hey there @milad, thanks for highlighting this! Our team is looking into why 1Password is having trouble scaling properly - I've passed along that you're seeing this issue as well. I suggest keeping an eye on our Releases page to keep up-to-date with improvements and fixes. :smile:

    ref: /dev/core/core/#9370

This discussion has been closed.