]> cloud.milkyroute.net Git - dolphin.git/commit
Never show status bar context menu away from status bar
authorFelix Ernst <felixernst@zohomail.eu>
Mon, 16 Oct 2023 14:50:07 +0000 (16:50 +0200)
committerFelix Ernst <felixernst@kde.org>
Wed, 18 Oct 2023 08:27:27 +0000 (08:27 +0000)
commitf38d788a97fe195e3257bccdd351162bd14c1ac9
tree10fc4d4297d1363af926670c34d5a6ed4c42c288
parentdfbd432d3fc763e5fac75e4d9ded3e89572115e4
Never show status bar context menu away from status bar

The status bar context menu was hard-coded to always appear at the
cursor position. However, context menus can also be triggered by
keyboard, for example with the Menu key, in which case it makes no
sense to show the context menu at whatever random position the
mouse cursor currently is.

Instead invoke the context menu in the middle of the status bar
when it is opened by keyboard.
src/statusbar/dolphinstatusbar.cpp