Open lkzjdnb opened 1 year ago
one quick alternative for regular users (non-devs), without having to adjust code and recompile, is to add an environment variable on launch (you can also set this graphically using KDE/Gnome):
QT_QPA_PLATFORM=xcb qtpass
You'll need XWayland, but on most distros that will likely be present. If not, you can install it if necessary, or wait for the fix. Or use the normal pass
CLI program.
Any updates on this? Im still seeing the segfault on wayland with xwayland installed and the environment variable set and after making changes to the git package listed above and rebuilding/reinstalling the package by deleting the compiled .tar.zst and recompiling and using pacman -U to install the new package (only breaking it down since default makepkg -si behavior is to ignore if there is a package already built in the same directory, would be easy to mistakenly reinstall the same package without edits)
Opening the application results on a segfault.
I believe the issue comes from wayland : The line QCursor::pos() always return (0,0) and because it does not find a screen at this location it return NULL which causes the segfault down the line. A simple fix I used was to add this line :