Bug 435879 - Strange behaviour of right mouse-click on toolbar
Summary: Strange behaviour of right mouse-click on toolbar
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Toolbars (show other bugs)
Version: 7.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-18 16:14 UTC by herb
Modified: 2023-04-25 03:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description herb 2021-04-18 16:14:51 UTC
SUMMARY
Hello,

Toolbar of digiKam and also of showFoto can be used in 4 different layouts:
- icons only
- text only
...

I have configured the toolbar to use "text on right side of icon".

In this mode (and only in this mode) right clicking on an element of the toolbar a menu is displayed containing:
- the element-name itself
- text position
- icon size
- configure toolbar
- lock toolbar

After I have left clicked the menu with "element-name" itself the text disappears and for this specific toolbar-element only the icon is shown.
Nothing else happens.
Repeating the right-click for the same element the text appears again.

If this is really by design instead of the element-name a text "Hide text" or "Show text" should be used.

On the other hand for me it does not make sense to have a mix inside the toolbar: some (not all) elements with icons only and some with icons and text.

Best regards
herb


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-04-18 16:24:15 UTC
I have a check box in front of it that shows the status selected or not. Okay for me. On which platform do you use digiKam?

Maik
Comment 2 Maik Qualmann 2021-04-18 17:30:32 UTC
Under Windows it is a little worse to see, because a tool button is used which is pressed or not. Since we only have limited influence on this context menu because it comes from the KF5 framework, I close the bug.

Maik
Comment 3 herb 2021-04-18 17:41:52 UTC
Hello Maik,

thanks for your quick reply.
I regret that I forgot to say: I am on a Windows 10 system.

On one hand, you are right, when I right-click on a toolbar-element the icon in front of the "element-name" shows selected or not-selected, using the typically blue windows color for selected elements. I think this is what you mean with a checkbox.

But the string "element name" tells me: left-clicking on it will open the corresponding tool, just as in case I left-click on the toolbar element itself.
That it only hides or shows the text is confusing for me.
Therefore I would like to propose using "Hide text" resp. "Show text again".

Best regards
herb
Comment 4 Maik Qualmann 2021-04-18 17:44:40 UTC
We cannot change the text. Then I have to forward the bug report.

Maik
Comment 5 herb 2021-04-18 17:45:16 UTC
Hello Maik,

as we entered our comments at the same time I repeat
- the problem is not the "checkbox" or the "button" in front of the context
  element with name of the tool.
- For me the problem is the used text, as I tried to explain in my previous post.

Thanks again
herb
Comment 6 herb 2021-04-18 17:47:16 UTC
Hello Maik,

again a collision problem.

In case of you cannot change the text of the first context-element,
what about to start the tool itself

Thanks
herb
Comment 7 Maik Qualmann 2021-04-19 11:15:42 UTC
I played with this function again under Windows. The behavior is normal for me. The entry has the heading "Text", the tool icon shows the status. The entry is also not started, you probably stay too long on the left mouse button and activate the tool button after the popup has disappeared. I don't think the developers of the KF5 framework would change anything here.
You will have to live with it, because the tool button menu is rarely used.

Maik