Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add menu option to allow screenshots #8841

Merged
merged 1 commit into from
Feb 18, 2023

Conversation

droidmonkey
Copy link
Member

Screenshots

image

Testing strategy

Tested on Windows

Type of change

  • ✅ New feature (change that adds functionality)

@droidmonkey droidmonkey added the ux label Nov 25, 2022
@droidmonkey droidmonkey added this to the v2.7.5 milestone Nov 25, 2022
@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2022

Codecov Report

Base: 64.84% // Head: 64.84% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (9a943f0) compared to base (cc35bf2).
Patch coverage: 46.67% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8841      +/-   ##
===========================================
- Coverage    64.84%   64.84%   -0.01%     
===========================================
  Files          342      342              
  Lines        44408    44421      +13     
===========================================
+ Hits         28796    28801       +5     
- Misses       15612    15620       +8     
Impacted Files Coverage Δ
src/gui/MainWindow.cpp 71.24% <42.86%> (-0.38%) ⬇️
src/gui/osutils/OSUtilsBase.cpp 100.00% <100.00%> (+60.00%) ⬆️
src/core/FileWatcher.cpp 85.54% <0.00%> (-1.20%) ⬇️
src/core/Entry.cpp 82.42% <0.00%> (-0.30%) ⬇️
src/gui/osutils/nixutils/NixUtils.h 100.00% <0.00%> (+50.00%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@droidmonkey
Copy link
Member Author

@phoerious would appreciate a review of this one

@droidmonkey
Copy link
Member Author

This is a relatively benign change (and rather useful) so will merge it in.

* Fix #7580
* Also refactor the code to move everything into MainWindow
@droidmonkey droidmonkey merged commit 0a2e716 into develop Feb 18, 2023
@droidmonkey droidmonkey deleted the feature/temp-allow-screenshot branch February 18, 2023 22:56
Perlover added a commit to Perlover/keepassxc that referenced this pull request May 18, 2023
Release 2.7.5

- Add menu option to allow screenshots [keepassxreboot#8841]
- Add support for Botan 3 [keepassxreboot#9388]
- Increase max TOTP step to 24 hours [keepassxreboot#9149]
- Improve HTML export layout [keepassxreboot#8987]
- Turn search reset off by default [keepassxreboot#9153]
- Use QClipboard::clear() instead of setting blank text [keepassxreboot#9148]
- Hide group column header choice when not in search [keepassxreboot#9171]
- Improve look of KeePassXC logo and icons [keepassxreboot#9355]
- Add keyboard shortcuts for app and database settings [keepassxreboot#9007]
- Hide rename button from attachments preview panel [keepassxreboot#8842]
- Linux: Set SingleMainWindow in .desktop file [keepassxreboot#7430]

- Fix crash when search clears while creating new entry [keepassxreboot#9230]
- Fix crash when using Windows Hello in a Remote Desktop session [keepassxreboot#9006]
- Fix crash in Group Edit after enabling Browser Integration [keepassxreboot#8778]
- Fix canceling quick unlock when it is unavailable [keepassxreboot#9034]
- Set password input field font correctly [keepassxreboot#8732]
- Greatly improve performance when rendering entry view [keepassxreboot#9398]
- Fix various accessibility issues [keepassxreboot#9138]
- Fix arrows size when expand/collapse a group [keepassxreboot#9096]
- Select the clone instead of the original after cloning an entry [keepassxreboot#9070]
- Fix bugs with preview widget [keepassxreboot#9170]
- Fix status bar update when switching to other DB [keepassxreboot#9073]
- Fix database settings spin box bug [keepassxreboot#9101]
- Fix Ctrl+Tab shortcut to cycle databases in unlock dialog [keepassxreboot#8839]
- Fix TOTP QR code maintaining square ratio [keepassxreboot#9027]
- Fix Auto-Type configuration page on custom sequence selection [keepassxreboot#8752]
- Fix unexpected behavior of `--lock` when KeePassXC is not running [keepassxreboot#8889]
- Make open folder icon exempt from "Apply group icon to entry" [keepassxreboot#9205]
- Allow setting default file open directory with env var [keepassxreboot#9192]
- SSH Agent: Fix support for AES-256/GCM openssh keys [keepassxreboot#8968]
- Browser: Fix Native Messaging script path with BSD OS's [keepassxreboot#8835]
- MacOS: Fix text selection for Auto-Type clear field [keepassxreboot#9066]
- MacOS: Don't rely on AppleInterfaceStyle for theme switching [keepassxreboot#8615]
- Windows: Remove registry detection of desktop shortcut [keepassxreboot#9380]
@LayersOfAbstraction
Copy link

@phoerious would appreciate a review of this one

Hi, thank you, really appreciate the feature. I prefer to actually start it in the command line as it is safer with the --allow-screencapture parameter so I don't forget to disable it after I finish the screen capture. I feel that view menu option you made should be set to disable after closing with a pop-up advising the user so they know it is intentional.

It could say something like:

As a security measure, the Allow Screen Capture option will automatically be disabled after closure.

@Scrxtchy
Copy link

@phoerious would appreciate a review of this one

Hi, thank you, really appreciate the feature. I prefer to actually start it in the command line as it is safer with the --allow-screencapture parameter so I don't forget to disable it after I finish the screen capture. I feel that view menu option you made should be set to disable after closing with a pop-up advising the user so they know it is intentional.

It could say something like:

As a security measure, the Allow Screen Capture option will automatically be disabled after closure.

Funny enough, I stumbled across the launch argument from the documentation just now. I added it to my shortcut so I could start it with the configuration as it was causing nvidia shadowplay to not record anything due to the protected content flag. This does feel much safer than just adding in a permanent configuration for this but it's not well known about (and nvidia has no visible error for these things lol, took me a while to realise this was the case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add view menu option to allow screenshots for temporary period of time
4 participants