Make HMenu modal

Prevents accidentally triggering TapHandlers when clicking outside of
the menu to exit it.
This commit is contained in:
miruka 2020-03-26 21:55:30 -04:00
parent 43c018d0a4
commit 4a780e20f4
2 changed files with 6 additions and 9 deletions

13
TODO.md
View File

@ -1,14 +1,10 @@
# TODO
- make it not select messages when closing context menu
- long-press-drag to select multiple messages on touch
- drag to select on non-touch
- shift+click to select everything in between
- Long-press-drag to select multiple messages on touch
- Drag to select multiple messages on non-touch
- Shift+click to select everything in between
- remove radius on invite/left banner
- side pane back/forward buttons hard to use on touch
- is it still slow on sway with wayland-egl?
- room pane drag-scroll a tiny bit activates the delegates
- Drag-scrolling in room pane a tiny bit activates the delegates
## Goals before 0.5.0
@ -90,7 +86,6 @@
- Remember the previously focused item in page for ctrl+tab
- https://doc.qt.io/qt-5/qml-qtquick-smoothedanimation.html for progress bars
- Improve when HDrawer should collapse when the ui is zoomed
- Way to open context menus without a right mouse button
- Make room invite/left banner buttons look better
- Choose a better easing types for animations

View File

@ -5,6 +5,8 @@ import QtQuick.Controls 2.12
Menu {
id: menu
modal: true
dim: false
padding: theme.controls.menu.borderWidth
implicitWidth: {