Compare commits

...

2 commits

Author SHA1 Message Date
wackyideas
2647c7e2bf Fixed SevenStart floating icon placement issue 2024-08-09 19:05:38 +02:00
wackyideas
ffff4bdb7b Fixed SevenStart hover issue 2024-08-09 18:59:03 +02:00
3 changed files with 5 additions and 11 deletions

View file

@ -92,7 +92,6 @@ Item {
dashWindow.visible = !dashWindow.visible;
dashWindow.showingAllPrograms = false;
Plasmoid.setActiveWin(dashWindow);
console.log(floatingOrbPanel.buttonIcon.implicitHeight);
dashWindow.m_searchField.focus = true;
orb.raise();
}
@ -124,10 +123,6 @@ Item {
root.Layout.minimumHeight = orb.height;
root.Layout.maximumHeight = orb.height;
}
// This has to be done, or else the orb won't be positioned correctly. ??????????
/*orb.y += 5;
orb.y -= 5; // ??????????????????????????????????????*/
}
//kicker.status: PlasmaCore.Types.PassiveStatus

View file

@ -77,13 +77,11 @@ Item {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
acceptedButtons: Qt.LeftButton | Qt.RightButton
propagateComposedEvents: true
acceptedButtons: Qt.LeftButton// | Qt.RightButton
//propagateComposedEvents: true
onPressed: mouse => {
if(mouse.button === Qt.LeftButton)
//if(mouse.button === Qt.LeftButton)
root.showMenu();
else
mouse.accepted = false;
}
}

View file

@ -102,7 +102,7 @@ PlasmaCore.Dialog {
} else {
requestActivate();
searchField.forceActiveFocus();
if(!firstTimePopup) setFloatingAvatarPosition();
setFloatingAvatarPosition();
}
resetRecents(); // Resets the recents model to prevent errors and crashes.
}
@ -117,6 +117,7 @@ PlasmaCore.Dialog {
var pos = popupPosition(width, height);
x = pos.x;
y = pos.y;
setFloatingAvatarPosition();
}
onSearchingChanged: {