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
@@ -1138,7 +1138,8 @@ test "dragging a floating window's corner resizes it" {
|
||||
/// bottom, 8 px margins, 4 px gaps).
|
||||
fn launcher_button(comp : @host.ChandraCompositor, i : Int) -> (Int, Int) {
|
||||
let pr = comp.shell.slot_popup_rect(comp.shell.slot_of("launcher"))
|
||||
(pr.x + 8 + i * 65 + 30, pr.y + pr.h - 44 + 6 + 15)
|
||||
let bw = (pr.w - 2 * 8 - 4 * 4) / 5
|
||||
(pr.x + 8 + i * (bw + 4) + bw / 2, pr.y + pr.h - 44 + 6 + 15)
|
||||
}
|
||||
|
||||
///|
|
||||
|
||||
Reference in new issue
Block a user