Launcher: pick up web apps as they are installed, categories, scrolling
CI / test (push) Failing after 49s
CI / test (push) Failing after 49s
- Read the app catalog again when the Applications menu opens if .desktop files were added or removed (and on Reload); it was only read at login, so a PWA installed during the session was missing from the menu and its search
- List a Chromium browser's web apps in their own category ("Chrome Apps", "Chromium Apps", ...), as Plasma does; don't take one for the default browser
- Category column and a scrollable list (wheel, scrollbar) when the catalog doesn't fit the menu
- Show menu-spec main category names instead of the first Categories= entry; sort apps A-Z (they were sorted shortest name first)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
aa92aaac6f
commit
68baf1a467
11 files changed
+578
-109
No files matched your search
@@ -597,6 +597,9 @@ fn DesktopShell::replace_slot_result(self : DesktopShell, slot : String, path :
|
||||
pub fn DesktopShell::reload_modules(self : DesktopShell, name : String) -> (Array[String], Bool) {
|
||||
self.ensure_booted()
|
||||
self.scan_catalog() // a module installed since login shows up in Settings > Panel
|
||||
if name == "" {
|
||||
self.load_apps() // and an app's changed .desktop file in the Applications menu
|
||||
}
|
||||
let targets : Array[(String, String, String)] = []
|
||||
for w in self.widgets {
|
||||
if name == "" || w.module_id == name || stem(w.path) == name || w.slot == name || w.path == name {
|
||||
|
||||
Reference in new issue
Block a user