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

--- Comment #6 from caulier.gil...@gmail.com ---
Marcel,

My first proposal is the more simple way to fix the problem, but it's not the
best.

Ideally, We must implement a context proxy for all digiKam main view. This
proxy will know which main view is active (left or right sidebar, central view
with icon or preview or map, etc.), know which sidebar tab is active (the
vertical selection), which sidebar internal view is active (horizontal view as
with comments tab for ex). Finally, in the internal sidebar view, the proxy
must know which widget as the focus, and enable or disable the keyboard
shortcuts accordingly.

Why this kind of complex "proxy" stuff ? Because between all these view
combination, the current focus will do not have the same action in digiKam, for
ex with ENTER key.

I know that Gwenview implmement this proxy mechanism, and probably also
Dolphin. I will try to find some code pointers in gitlab...

And yes implementing a proxy can be complex to do with a lots of regression
tests.

Gilles

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

Reply via email to