this post was submitted on 08 Oct 2023
32 points (100.0% liked)

Free and Open Source Software

17919 readers
90 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

EDIT: Lol, it doesn't actually work +___+ It is enabled in KeepassXC but it just doesn't do anything. Welp.

Here's a neat trick I just found out (with a hint from here):

In Wayland you can't use KeepassXC's very cool Auto-Type feature (it's somehow Qt's fault?) but if you installed it as a Flatpak you can go into KDE Settings, search for "Flatpak Permission Settings" and in the settings for KeepassXC under "Advanced" you can disable "Wayland Windowing System" to make it work. Nice!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

This is because Wayland doesn't allow it to read window titles. Keepass and KeepassXC uses the window title to identify which entry to use. If you have no title, you can't find the entry. That's why it will not work with Wayland and never will work, until Wayland allows it to read window titles.

XWayland, which is forced with your workaround, is not Wayland.

That's at least for me, the main reason not to switch to Wayland. I have no idea why Wayland doesn't allow reading window titles. There is absolutely no security or performance benefit of this behavior. For me it's either a bug or a design failure. Or simply bad behavior.