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
@@ -57,9 +57,9 @@ test('launcher: click opens popup, row click launches via host capability, popup
|
||||
assert.ok(texts(f.ops).includes('Terminal'));
|
||||
const pr = desktop.hit.popup.rect;
|
||||
assert.ok(pr.y + pr.h <= 720 - 44, 'popup sits above the panel');
|
||||
// second row (52px header + 46px rows)
|
||||
desktop.pointer('move', pr.x + 20, pr.y + 52 + 46 + 5);
|
||||
desktop.pointer('down', pr.x + 20, pr.y + 52 + 46 + 5);
|
||||
// second row (52px header + 46px rows), right of the category column
|
||||
desktop.pointer('move', pr.x + pr.w - 60, pr.y + 52 + 46 + 5);
|
||||
desktop.pointer('down', pr.x + pr.w - 60, pr.y + 52 + 46 + 5);
|
||||
assert.deepEqual(platform.launches, ['org.chandra.files']);
|
||||
desktop.frame();
|
||||
assert.equal(desktop.hit.popup, null, 'popup closed after launch');
|
||||
|
||||
Reference in new issue
Block a user