Risu / Tiled-Quicklaunch

Plasma Menu Widget for KDE
https://store.kde.org/p/1319588/
GNU General Public License v2.0
3 stars 3 forks source link

Keyboard shortcut and mouse bring up different menus #3

Closed psyphre closed 3 years ago

psyphre commented 3 years ago

The tiled menu that comes up when I click on the mouse is not the same as the tiled menu that comes up when I press the keyboard shortcut. A restart seemed to have fixed the shortcut key not sticking.

The mouse click brings up a menu where I have added tiles to. The keyboard shortcut brings up a blank menu - as if I just added the widget and nothing has yet been added.

I have tried removing the applet and re-adding incase that instance was bugged.

psyphre commented 3 years ago

I have tried the below fix, what it seems to do is bring up both menus, which does not quite solve the problem.


Quick fix: Insert into risu.tiled.quicklaunch/contents/ui/Main.qml in line 77:

onExpandedChanged: { if (expanded && !popup.visible) { plasmoid.expanded = false popup.visible = true } } Plasmoids are located in /home/USERNAME/.local/share/plasma/plasmoids. Then restart plasma or system.

Risu commented 3 years ago

New idea for "quick fix" only:

    onExpandedChanged: {
        popup.visible = !popup.visible
    }
    Plasmoid.fullRepresentation: PlasmaCore.Dialog {
        visible: false
    }

Commited to repository waiting for your testing.

psyphre commented 3 years ago

This worked like a charm!! Great stuff thank you.

onExpandedChanged: {
    popup.visible = !popup.visible
}
Plasmoid.fullRepresentation: PlasmaCore.Dialog {
    visible: false
}