1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 14:05:38 -05:00

Fix cursor style on inputs

This commit is contained in:
bbedward
2025-07-14 21:53:19 -04:00
parent e0bf5df74b
commit f388840443
3 changed files with 23 additions and 46 deletions

View File

@@ -32,19 +32,6 @@ PanelWindow {
onTriggered: updateFilteredApps()
}
Timer {
id: periodicRescanTimer
interval: 60000
repeat: true
running: spotlightOpen
onTriggered: {
console.log("SpotlightLauncher: Periodic rescan triggered")
if (DesktopEntries.rescan) {
DesktopEntries.rescan()
}
}
}
anchors {
top: true
left: true
@@ -68,13 +55,7 @@ PanelWindow {
// ...existing code...
function show() {
console.log("SpotlightLauncher: show() called")
// Trigger manual rescan when opening
console.log("SpotlightLauncher: Triggering manual rescan on show")
if (DesktopEntries.rescan) {
DesktopEntries.rescan()
}
spotlightOpen = true
console.log("SpotlightLauncher: spotlightOpen set to", spotlightOpen)
searchDebounceTimer.stop() // Stop any pending search
@@ -468,6 +449,13 @@ PanelWindow {
verticalAlignment: Text.AlignVCenter
focus: spotlightOpen
selectByMouse: true
MouseArea {
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.IBeamCursor
acceptedButtons: Qt.NoButton
}
onTextChanged: {
searchDebounceTimer.restart()
}
@@ -830,14 +818,6 @@ PanelWindow {
spotlightLauncher.toggle()
return "SPOTLIGHT_TOGGLE_SUCCESS"
}
function rescan() {
console.log("SpotlightLauncher: IPC rescan() called")
if (DesktopEntries.rescan) {
DesktopEntries.rescan()
console.log("SpotlightLauncher: Triggered DesktopEntries rescan")
}
return "SPOTLIGHT_RESCAN_SUCCESS"
}
}
Component.onCompleted: {