Skip to content

Broken theme with wayland backend #2006

@shoetten

Description

@shoetten

I'm running Gnome 3.28.2 with wayland. I upgraded Qt5 from 5.10.1 to 5.11.0, which causes a broken theme and all kinds of other UI glitches. Also copy / paste is broken, due to the wayland sandboxing.
I think this is caused because Qt 5.11 changed the default platform plugin from xcb to wayland.

If i run keepassxc -platform xcb everything works fine.

I'm sorry if this is a duplicate or an upstream bug, but i did not see this reported anywhere else and since other qt apps (like vlc) handle this fine, my first guess is that the bug somehow relates how KeepassXC handles wayland.

Expected Behavior

keepassxc-xorg

Current Behavior

keepassxc-wayland
keepassxc-wayland small

Workaround

Run keepassxc with the keepassxc -platform xcb flag or downgrade qt to v5.10.1

Maybe a temporary solution would be to change the .desktop file to run keepassxc with the -platform xcb flag by default for now.

Steps to Reproduce (for bugs)

  1. Install Qt version 5.11
  2. Start keepassxc

- OR -

  1. Install Qt version 5.10
  2. Run keepassxc -platform wayland

Context

Debug Info

KeePassXC - Version 2.3.3
Revision: 0a155d8

Libraries:

  • Qt 5.11.0
  • libgcrypt 1.8.2

Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 4.16.11-1-ARCH

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • Legacy Browser Integration (KeePassHTTP)
  • SSH Agent
  • YubiKey

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions