| Summary: | Changes to shortcuts only reflected after restart in some situations | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | null <null> |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | devel, nate |
| Priority: | NOR | ||
| Version First Reported In: | 17.12.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/gwenview/936e30aca40e898db2719ee74b40fcffef740136 | Version Fixed/Implemented In: | 18.04.0 |
| Sentry Crash Report: | |||
|
Description
null
2018-01-22 22:39:12 UTC
I can't reproduce this any more in any other branch than Applications/17.12. Tested in master, Applications/18.04 and even Applications/17.08 is ok. The problem is still happening for me in master with KF 5.44. Try with a fresh config? (On the other hand, the steps to reproduce are quite complicated. I doubt many users will run into this problem, so it's probably not a high-priority bug.) Git commit 936e30aca40e898db2719ee74b40fcffef740136 by Peter Mühlenpfordt.
Committed on 09/04/2018 at 07:41.
Pushed by muhlenpfordt into branch 'Applications/18.04'.
Fix shortcut config changes sometimes not updating until restart
Summary:
After setting or resetting custom shortcuts for actions in Browse or
Start Page Mode and then switching to View Mode these changes are not
active until next Gwenview restart.
This patch adds a `refreshActionProperties()` call after the shortcut
config dialog is closed to fix this.
FIXED-IN: 18.04.0
Test Plan:
* Start Gwenview in Browse Mode or Start Page Mode
* {nav Settings > Configure Shortcuts...}
* Set custom shortcut for {nav Quit} to e.g. {key Esc}
* Switch to View Mode displaying any image
* {key Esc} should quit Gwenview
* Restart Gwenview in Browse Mode or Start Page Mode
* {nav Settings > Configure Shortcuts...}
* Reset shortcuts with {nav Defaults}
* Switch to View Mode displaying any image
* {key Ctrl Q} should quit Gwenview
Reviewers: #gwenview, rkflx
Reviewed By: #gwenview, rkflx
Subscribers: rkflx, huoni
Differential Revision: https://phabricator.kde.org/D12023
M +8 -2 app/mainwindow.cpp
M +1 -0 app/mainwindow.h
https://commits.kde.org/gwenview/936e30aca40e898db2719ee74b40fcffef740136
|