keepassxc
keepassxc copied to clipboard
Allow KeePassXC to be built without X11
KeePassXC can be built without X11 (with disabled autotype) before commit 404fd941e8e5428c8fe80c78f16ff7e4fa09aff4. Current commit is restoring this behaviour, by option WITH_XC_X11 (enabled by default)
Testing strategy
Build with -DWITH_XC_X11=no, checking that it can be built on systems with qtx11extras and x11 not installed. After that, check that it can be started and is working properly (except autotype and capslock)
Type of change
- ✅ Bug fix (non-breaking change that fixes an issue)
- ✅ New feature (change that adds functionality)
Edit: I checked your changes again, they primarily patch out global hotkey handling, which isn't critical, since Auto-Type isn't supported yet anyway, but I would still prefer a Wayland implementation instead of just falling back to a noop.
@phoerious I'm sorry, but it seems that there is still no solution for global hotkeys in Wayland community (https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/73, #2281). Could we please merge this, for now, as it's preventing build and usage of KeepassXC on X11-less systems?
Sigh. I definitely stopped being surprised at what other basic shit is still missing in Wayland a long time ago. No wonder that even ten years later this thing still isn't gaining traction. 🙄
@droidmonkey Opinions?
Codecov Report
Merging #8147 (29e329e) into develop (09df862) will increase coverage by
0.20%
. The diff coverage is22.22%
.
:exclamation: Current head 29e329e differs from pull request most recent head e09ab63. Consider uploading reports for the commit e09ab63 to get more accurate results
@@ Coverage Diff @@
## develop #8147 +/- ##
===========================================
+ Coverage 64.44% 64.64% +0.20%
===========================================
Files 339 338 -1
Lines 43749 43549 -200
===========================================
- Hits 28191 28149 -42
+ Misses 15558 15400 -158
Impacted Files | Coverage Δ | |
---|---|---|
src/gui/osutils/nixutils/NixUtils.cpp | 43.00% <22.22%> (+9.47%) |
:arrow_up: |
src/gui/DatabaseOpenDialog.cpp | 84.11% <0.00%> (-0.98%) |
:arrow_down: |
src/cli/Show.cpp | 97.30% <0.00%> (-0.26%) |
:arrow_down: |
src/core/Entry.cpp | 83.78% <0.00%> (-0.20%) |
:arrow_down: |
src/cli/Utils.cpp | 75.11% <0.00%> (-0.20%) |
:arrow_down: |
src/cli/Clip.cpp | 95.00% <0.00%> (-0.15%) |
:arrow_down: |
src/gui/Clipboard.h | 100.00% <0.00%> (ø) |
|
src/core/EntryAttributes.cpp | 81.18% <0.00%> (ø) |
|
src/gui/osutils/nixutils/X11Funcs.cpp | ||
src/gui/ApplicationSettingsWidget.cpp | 52.01% <0.00%> (+0.58%) |
:arrow_up: |
... and 3 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
We won't be shipping an X11-less version, but I don't care if individuals want an easier way to build an X11-less version. I also agree that Wayland lacks basic features... and they wonder why its been such a struggle for adoption.
I'll update PR soon, addressing all the comments, thank you!
I'm sorry, as this is approved, what are my next steps? Do I need to press some button?
No you are done, when I do my next run of PRs I'll merge this in.
Got it, thank you!