Summary: | The grub selections in the shutdown/reboot popup are not clickable | ||
---|---|---|---|
Product: | [Unmaintained] ksmserver | Reporter: | Mathias Homann <Mathias.Homann> |
Component: | ui | Assignee: | Lamarque V. Souza <lamarque> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cyberbeat, dlwillia, konstantinos.smanis, nico.kruber, wstephenson |
Priority: | NOR | ||
Version: | 0.4 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/2519ac36f9218eb267e76d345172dc300c16b019 | Version Fixed In: | 4.9.1 |
Sentry Crash Report: |
Description
Mathias Homann
2012-08-10 05:34:32 UTC
same here as a side note: in RC2, when the mouse was hovering an item it was not shown as "selected" but clicking on it worked Git commit d3a824024c30cc4d1dee20e150fd3446d75642c1 by Lamarque V. Souza. Committed on 11/08/2012 at 02:09. Pushed by lvsouza into branch 'KDE/4.9'. Fix problem with menus not clickable in QML shutdown dialog. FIXED-IN: 4.9.1 (cherry picked from commit 14b0486208ac9f362d98d7948270d2b6295e1575) M +2 -0 ksmserver/themes/default/main.qml http://commits.kde.org/kde-workspace/d3a824024c30cc4d1dee20e150fd3446d75642c1 Git commit 14b0486208ac9f362d98d7948270d2b6295e1575 by Lamarque V. Souza. Committed on 11/08/2012 at 02:09. Pushed by lvsouza into branch 'master'. Fix problem with menus not clickable in QML shutdown dialog. FIXED-IN: 4.9.1 M +2 -0 ksmserver/themes/default/main.qml http://commits.kde.org/kde-workspace/14b0486208ac9f362d98d7948270d2b6295e1575 *** Bug 305053 has been marked as a duplicate of this bug. *** actually, this bug should be extended to the other options in the shutdown dialogue, i.e. holding the "shutdown" option shows the currently unclickable "suspend-to-ram" and "suspend-to-disk" items additionally, pre4.9 you cuold hold down the shutdown/reboot button, wait for the dropdown dialogue and release the mouse button on the action you wanted to be executed - this is now not possible anymore... "Turn Off Computer > Suspend to RAM" still not working here. Git commit 975e27f90dacb3c759a74d72dfe3911309a062e8 by Lamarque V. Souza. Committed on 17/08/2012 at 15:09. Pushed by lvsouza into branch 'KDE/4.9'. Fix menu items not clickable problem in QML shutdown dialog. FIXED-IN: 4.9.1 M +3 -3 ksmserver/themes/default/main.qml http://commits.kde.org/kde-workspace/975e27f90dacb3c759a74d72dfe3911309a062e8 Git commit 2519ac36f9218eb267e76d345172dc300c16b019 by Lamarque V. Souza. Committed on 17/08/2012 at 15:09. Pushed by lvsouza into branch 'master'. Fix menu items not clickable problem in QML shutdown dialog. FIXED-IN: 4.9.1 M +3 -3 ksmserver/themes/default/main.qml http://commits.kde.org/kde-workspace/2519ac36f9218eb267e76d345172dc300c16b019 (In reply to comment #5) > additionally, pre4.9 you cuold hold down the shutdown/reboot button, wait > for the dropdown dialogue and release the mouse button on the action you > wanted to be executed - this is now not possible anymore... This seems not possible in QML. (In reply to comment #9) > (In reply to comment #5) > > additionally, pre4.9 you cuold hold down the shutdown/reboot button, wait > > for the dropdown dialogue and release the mouse button on the action you > > wanted to be executed - this is now not possible anymore... > > This seems not possible in QML. there is no "on release" handler? too bad - this means, one click more for now :( there is an onReleased slot but the onPressed event that has to preceed it is from a different window (the shutdown dialog window) not the menu window, so the onReleased is never emited by the menu item. hmm, ok - I guess, we'll have to wait for new QML versions to solve that one... What about including the menu items, that currently only show after long-pressing the button, into the shutdown dialogue. For restart, there will probably be too many entries since the user can add as many grub entries as he wants. But for shutdown, i.e. "suspend-to-ram", "suspend-to-disk", there are only two and the use of them is not so uncommon. I'd therefore propose to promote them to the shutdown dialogue itself. Visually, they could appear as sub-items of "shutdown", i.e. a little bit shifted to the right and smaller than the big ones. Alternatively, instead of long-pressing, there could be an arrow to the right side of the "shutdown"/"restart" buttons which immediately shows the drop-down options. Accessing them this way would be much faster. I already tested that before doing the current implementation and it was quite ugly. The fact that they are not so common is probably the reason they were hidden in a submenu in the first place. Git commit a39dc6dcb0653ea9a039e380327813701815bed4 by Lamarque V. Souza. Committed on 18/08/2012 at 19:06. Pushed by lvsouza into branch 'KDE/4.9'. Show menu instead of triggering default action when clicking on KSMButton.qml's icon in shutdown dialog. M +14 -0 ksmserver/themes/default/KSMButton.qml http://commits.kde.org/kde-workspace/a39dc6dcb0653ea9a039e380327813701815bed4 Git commit d2def80fc4f40de0d7eef9a65682ce9e8d208a0c by Lamarque V. Souza. Committed on 18/08/2012 at 19:06. Pushed by lvsouza into branch 'master'. Show menu instead of triggering default action when clicking on KSMButton.qml's icon in shutdown dialog. M +14 -0 ksmserver/themes/default/KSMButton.qml http://commits.kde.org/kde-workspace/d2def80fc4f40de0d7eef9a65682ce9e8d208a0c I have stumbled over this, too:
>additionally, pre4.9 you cuold hold down the shutdown/reboot button, wait for the dropdown dialogue and release the mouse button on the action you wanted to be executed - this is now not possible anymore...
will that be fixed in 4.9.2?
For now there are two problems:
a) it is not possible to click on the little arrow to show the submenu, the shutdown-action is executed (instead of the wanted sleep option)
b) even if I hold the button and wait, the submenu is shown , but I cannot select any entries: i have to release and only then are able to choose.
I think you should not wait for qt fixing this but revert to the previous dialog.
(In reply to comment #16) > I have stumbled over this, too: > > >additionally, pre4.9 you cuold hold down the shutdown/reboot button, wait for the dropdown dialogue and release the mouse button on the action you wanted to be executed - this is now not possible anymore... > > will that be fixed in 4.9.2? No, it will not because it seems QML does not support that. > For now there are two problems: > > a) it is not possible to click on the little arrow to show the submenu, the > shutdown-action is executed (instead of the wanted sleep option) Are you refering to the white arrow pointing down that indicates that the button contains a context menu? I haver said that clicking on it would trigger a menu and it is also too small to click. In 4.9.1 you can click on the button's icon to trigger the context menu. > b) even if I hold the button and wait, the submenu is shown , but I cannot > select any entries: i have to release and only then are able to choose. As I said this seems to be a limitation in QML. Unless someone tells me how to implement this I do not see this working anymore. > I think you should not wait for qt fixing this but revert to the previous > dialog. Sorry, this is not going to happen. |