Bug 343960 - Shortcuts are not recognized or saved
Summary: Shortcuts are not recognized or saved
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: Other (add details in bug description)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 11:08 UTC by hipersayan_x
Modified: 2016-12-30 15:23 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hipersayan_x 2015-02-09 11:08:13 UTC
Package name: gwenviiew 
Package name: 14.12.2

When trying to configure the shortcuts, it are not recognized or the next time I open Gwenview, it are miss configured.
Ie. when I try to configure "Zoom In/Out" to "+"/"-", these shortcuts are not recognized and still try to use the Ctr l+ click one.
Setting "Full Screen Mode", "Next" and "Previous" to "F", "PgDown" and "PgUp", the next time I open Gwenview the shortcuts are empty.
Comment 1 FreshlyToe 2015-08-01 17:29:22 UTC
I have the same problem.  Certain changes made on the Configure Shortcuts dialog are not preserved through a restart of Gwenview.  e.g. I can assign a shortcut to display the About dialog, and it seems to remember that, but the shortcut for Cut always reverts to its previous value.

Using Kubuntu 15.04, gwenview 4:14.12.3-0ubuntu1.
Comment 2 Carioca 2015-08-06 16:16:00 UTC
With Kubuntu 15.04 Gwenview 5.0.0 it that shortcuts for next/previous are set to nothing after changed. When I set them to standard, everything is all right. I want to add alternative keys. After a restart, shortcut and alternate are set to no key.
Comment 3 João Eiras 2015-11-02 20:38:10 UTC
This happens with the "Alternate" shortcut as far as I see. They'll often be saved but overriding regular ones.
Comment 4 João Eiras 2015-11-02 22:41:26 UTC
So, if shrotcuts are modified, they are properly saved to .local/share/kxmlgui5/gwenview/gwenviewui.rc
For instance, for "Cut" there are currently two shortcuts: Ctrl+X and Shift+Del (the later is bug 347373). If I remove Shift+Del, I get the following being written to  gwenviewui.rc
 <ActionProperties scheme="Default">
  <Action name="edit_cut" shortcut="Ctrl+X; "/>
 </ActionProperties>
If I add any mix of shortcuts for that action they are always properly saved.
So, the bug seems it is during loading. It seems the alternate shotcut is always ignored, and if there is an entry in gwenview.rc for edit_cut, the main shortcut will always be dropped and replaced with none.
This is Gwenview 5.0.0.
Comment 5 Leon 2015-11-04 07:17:46 UTC
similar problem for me: no changes to shortcut config at all are saved (shortcut + alternate shortcut).
Different than for João Eiras the information is not even written into the config file.
When I start gwenview from command line, in the moment I try to save the configuration I get this message:
Calling appendChild() on a null node does nothing.

Gwenview Version: 15.08.2
Kubuntu Version: 4.2.0-16-generic
Comment 6 Andreas T 2015-12-11 21:47:01 UTC
Same Problem here.
Don't know if this is related, but gwenview also doesn't save the last folder used for "Move To" and "Copy To" functions like gwenview did in KDE4.
Comment 7 u1 2016-01-15 23:52:04 UTC
Same problems on kubuntu 15.10 (shortcuts, recent dir, lacking kipi-plugins)... Help, please...!
Comment 8 Albert Astals Cid 2016-12-29 17:26:17 UTC
Does this still happen to you with a modern version of gwenview? I have no problem setting + to be zoom and being persisted across restarts with gwenview 16.04.3
Comment 9 hipersayan_x 2016-12-30 12:24:33 UTC
(In reply to Albert Astals Cid from comment #8)
> Does this still happen to you with a modern version of gwenview? I have no
> problem setting + to be zoom and being persisted across restarts with
> gwenview 16.04.3
It's working well now in Gwenview 16.12.0