Bug 430921

Summary: Cannot add Edit Metadata filter to toolbar DigiKam 7.1.0
Product: [Applications] digikam Reporter: TM <ukmew250>
Component: Usability-ToolbarsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.1.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 7.2.0

Description TM 2020-12-28 23:24:54 UTC
SUMMARY
Using Configure Toolbars:-
I can select and move the "Edit Metadata" filter from the Available filter actions to the Current filter actions. It appears to apply as the toolbar sometimes blinks but the option does not appear as a selectable icon, but it is in the Current list.
I have tried adding other filters and the same issue arises but only with some of them as some do appear correctly. Edit Geolocation & Create Calendar do not appear for example
I can edit other KDE toolbars (Krusader)
Thanks

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.05
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-12-29 06:50:57 UTC
I cannot reproduce the problem here under openSUSE either with my native digiKam or with the AppImage. Adding actions to the toolbar works fine.

Maybe rename or delete the folder "/home/maik/.local/share/kxmlgui5/digikam/".

Maik
Comment 2 TM 2020-12-29 12:20:56 UTC
(In reply to Maik Qualmann from comment #1)
> I cannot reproduce the problem here under openSUSE either with my native
> digiKam or with the AppImage. Adding actions to the toolbar works fine.
> 
> Maybe rename or delete the folder
> "/home/maik/.local/share/kxmlgui5/digikam/".
> 
> Maik

Hi Maik
Thanks for the very prompt reply
However renaming the folder "/home/xxxx/.local/share/kxmlgui5/digikam/". resets the toolbars back to default, I can add some shortcuts back but not Edit Metadata, Edit Geolocation & Create Calendar.
Thanks
Tony
Comment 3 Maik Qualmann 2020-12-29 12:39:03 UTC
I've just tested it here with the Windows version, I can add the tools without any problems. Please test the digiKam-7.2.0-RC AppImage from here:

https://files.kde.org/digikam/

Maik
Comment 4 caulier.gilles 2020-12-29 13:27:51 UTC
I tested also with the macOS version of digiKam and all work fine here...

Best

Gilles Caulier
Comment 5 TM 2020-12-29 13:52:02 UTC
(In reply to caulier.gilles from comment #4)
> I tested also with the macOS version of digiKam and all work fine here...
> 
> Best
> 
> Gilles Caulier

Hi
Installed 7.2.0 - the same problem
I looked at the digikamui5.rc file and "<Action name="metadata_edit"/>" appears in the listing but not on the tool bar.
I can also add and remove Edit Geolocation & Create Calendaraction filters and they appear in the digikamui5.rc file but they also do not appear on the tool bar.
  <Action name="imageeditor"/>
  <Action name="light_table"/>
  <Action name="queue_manager"/>
  <Action name="import_auto"/>
  <Separator name="separator_0"/>
  <Action name="icon_view"/>
  <Action name="image_view"/>
  <Action name="map_view"/>
  <Action name="table_view"/>
  <Separator name="separator_1"/>
  <Action name="slideshow_plugin"/>
  <Action name="full_screen"/>
  <Action name="options_configure"/>
  <Action name="metadata_edit"/>
  <Action name="geolocation_edit"/>
  <Action name="calendar"/>

Thanks
Tony
Comment 6 Maik Qualmann 2020-12-29 14:14:23 UTC
Is the digikamui5.rc from your local kxmlgui directory? Is there still a digiKam version installed as a package in the system?

Maik
Comment 7 TM 2020-12-29 15:13:51 UTC
(In reply to Maik Qualmann from comment #6)
> Is the digikamui5.rc from your local kxmlgui directory? Is there still a
> digiKam version installed as a package in the system?
> 
> Maik

Hi
Done a full system search:- /home/tm/.local/share/kxmlgui5/digikam/digikamui5.rc is the only version found of digikamui5.rc
There is a tmp when Digikam runs :-file:///tmp/.mount_digikak6w56M/usr/share/kxmlgui5/digikam/digikamui5.rc
I do not have another version installed via Discover or Muon, DigiKam has only been installed via a Appimage on this machine
Thanks
Comment 8 TM 2021-01-16 16:47:37 UTC
(In reply to TM from comment #7)
> (In reply to Maik Qualmann from comment #6)
> > Is the digikamui5.rc from your local kxmlgui directory? Is there still a
> > digiKam version installed as a package in the system?
> > 
> > Maik
> 
> Hi
> Done a full system search:-
> /home/tm/.local/share/kxmlgui5/digikam/digikamui5.rc is the only version
> found of digikamui5.rc
> There is a tmp when Digikam runs
> :-file:///tmp/.mount_digikak6w56M/usr/share/kxmlgui5/digikam/digikamui5.rc
> I do not have another version installed via Discover or Muon, DigiKam has
> only been installed via a Appimage on this machine
> Thanks

Hi
Just found the setting
I did not have Metadata Edit selected in the "plug-in settings", once this was done it appeared on the tool bar. So although a filter is shown as an available filter to "configure the toolbar" it has to be enabled first elsewhere , done that and all is well now.
Thanks