https://bugs.kde.org/show_bug.cgi?id=406028

--- Comment #9 from Antonio <antonio.prc...@gmail.com> ---
Hi, I finally understand the basics of how the context menu works in KDE.
So i used the signal 'requestContextMenu' when a user right clicks on a folder
in the folder panel.
But I can't get around the problem that it always switches the open folder on
the right side too (in the main view).

This code:
https://github.com/precla/dolphin/commit/8407835ec8c6f6fe6256cd60b8f66213ac0095ed

If I remove 'emit slotItemActivated(index);' (*1) and instead use
'updateCurrentItem(index);' (*2), then the context menu works on the currently
open folder in the main view. See attached gifs.

Can anyone give me an hint or help me out?
Thanks in advance!

*1: https://i.imgur.com/SaM4JPv.gif
*2: https://i.imgur.com/8SaVwz6.gif

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to