Make HMenu modal
Prevents accidentally triggering TapHandlers when clicking outside of the menu to exit it.
This commit is contained in:
parent
43c018d0a4
commit
4a780e20f4
13
TODO.md
13
TODO.md
|
@ -1,14 +1,10 @@
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
- make it not select messages when closing context menu
|
- Long-press-drag to select multiple messages on touch
|
||||||
- long-press-drag to select multiple messages on touch
|
- Drag to select multiple messages on non-touch
|
||||||
- drag to select on non-touch
|
- Shift+click to select everything in between
|
||||||
- shift+click to select everything in between
|
|
||||||
|
|
||||||
- remove radius on invite/left banner
|
- Drag-scrolling in room pane a tiny bit activates the delegates
|
||||||
- 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
|
|
||||||
|
|
||||||
## Goals before 0.5.0
|
## Goals before 0.5.0
|
||||||
|
|
||||||
|
@ -90,7 +86,6 @@
|
||||||
- Remember the previously focused item in page for ctrl+tab
|
- Remember the previously focused item in page for ctrl+tab
|
||||||
- https://doc.qt.io/qt-5/qml-qtquick-smoothedanimation.html for progress bars
|
- https://doc.qt.io/qt-5/qml-qtquick-smoothedanimation.html for progress bars
|
||||||
- Improve when HDrawer should collapse when the ui is zoomed
|
- 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
|
- Make room invite/left banner buttons look better
|
||||||
|
|
||||||
- Choose a better easing types for animations
|
- Choose a better easing types for animations
|
||||||
|
|
|
@ -5,6 +5,8 @@ import QtQuick.Controls 2.12
|
||||||
|
|
||||||
Menu {
|
Menu {
|
||||||
id: menu
|
id: menu
|
||||||
|
modal: true
|
||||||
|
dim: false
|
||||||
padding: theme.controls.menu.borderWidth
|
padding: theme.controls.menu.borderWidth
|
||||||
|
|
||||||
implicitWidth: {
|
implicitWidth: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user