fix(desktop): honor DMS Settings maximize in Mango
Some checks are pending
ci / test (push) Waiting to run
Some checks are pending
ci / test (push) Waiting to run
This commit is contained in:
parent
842dfe787f
commit
09da45fbd0
4 changed files with 25 additions and 14 deletions
|
|
@ -19,8 +19,9 @@ this file is the curated, human-readable summary.
|
||||||
`xdg-utils` so this local page opens there. The live Welcome now routes Network,
|
`xdg-utils` so this local page opens there. The live Welcome now routes Network,
|
||||||
display and text controls to their exact DMS Settings pages, exposes the
|
display and text controls to their exact DMS Settings pages, exposes the
|
||||||
offline guide, installation help and DMS Welcome, and explains an absent
|
offline guide, installation help and DMS Welcome, and explains an absent
|
||||||
installer log. First login seeds
|
installer log. The Settings window rule now accepts maximize requests from
|
||||||
Kitty as the terminal and Firefox/Thunderbird for HTML/mail links only when
|
DMS, so its expand/restore button changes the window size under Mango. First
|
||||||
|
login seeds Kitty as the terminal and Firefox/Thunderbird for HTML/mail links only when
|
||||||
the user has not chosen defaults. The existing installed QEMU playground
|
the user has not chosen defaults. The existing installed QEMU playground
|
||||||
verified the UI paths and offline Help; a fresh ISO/install remains pending
|
verified the UI paths and offline Help; a fresh ISO/install remains pending
|
||||||
the host space gate.
|
the host space gate.
|
||||||
|
|
|
||||||
|
|
@ -13,15 +13,19 @@ commit it. It should be short and current; use `git log` for detail.
|
||||||
and Escape hides it. The live Welcome routes Network, display and text
|
and Escape hides it. The live Welcome routes Network, display and text
|
||||||
buttons to exact DMS tabs, retains its installation help, and shows a useful
|
buttons to exact DMS tabs, retains its installation help, and shows a useful
|
||||||
message before an installer log exists. First login fills missing terminal,
|
message before an installer log exists. First login fills missing terminal,
|
||||||
HTML and mail defaults with
|
HTML and mail defaults with Kitty, Firefox and Thunderbird. The existing
|
||||||
Kitty, Firefox and Thunderbird. The existing visible disposable QEMU VM was
|
visible disposable QEMU VM was updated and the bar panels, DMS Settings
|
||||||
updated and the bar panels, DMS Settings pages, both welcome paths, Help and
|
pages, both welcome paths, Help and
|
||||||
assistant toggles were visually exercised. Both launcher shortcuts worked;
|
assistant toggles were visually exercised. A follow-up control pass found
|
||||||
the launcher showed the new Help and DMS entries. Rust formatting, Clippy,
|
Mango's default maximize requests ignored; the Settings rule now sets
|
||||||
|
`ignore_maximize:0`, and DMS Settings expanded and restored correctly. Theme,
|
||||||
|
wallpaper and Settings search controls also worked. Both launcher shortcuts
|
||||||
|
worked; the launcher showed the new Help and DMS entries. Rust formatting,
|
||||||
|
Clippy,
|
||||||
workspace tests, release and static builds, ShellCheck and desktop entry
|
workspace tests, release and static builds, ShellCheck and desktop entry
|
||||||
validation passed. The live-only install action and restart/shutdown actions
|
validation passed. The live-only install action and restart/shutdown actions
|
||||||
were inspected but not activated. A fresh ISO or
|
were inspected but not activated. A fresh ISO or install is still gated by
|
||||||
install is still gated by roughly 10 GiB free versus the 20 GiB requirement.
|
roughly 10 GiB free versus the 20 GiB requirement.
|
||||||
|
|
||||||
- **Settings and pointer (2026-10-01):** The DMS Settings window was only
|
- **Settings and pointer (2026-10-01):** The DMS Settings window was only
|
||||||
about 500×400 because Mango floated it at its minimum size. A specific
|
about 500×400 because Mango floated it at its minimum size. A specific
|
||||||
|
|
|
||||||
|
|
@ -57,9 +57,14 @@ Welcome button reopened it. DMS Settings rendered wallpaper, theme, text,
|
||||||
time, sounds, Mango layout, bar setup/widgets/workspaces, notifications,
|
time, sounds, Mango layout, bar setup/widgets/workspaces, notifications,
|
||||||
dock/launcher, keybinds, display/gamma, network, default apps, audio, locale,
|
dock/launcher, keybinds, display/gamma, network, default apps, audio, locale,
|
||||||
clipboard, users, lock/power, plugins and About. The bar Widgets page took
|
clipboard, users, lock/power, plugins and About. The bar Widgets page took
|
||||||
several seconds to populate but did finish. The Assistant's floating window,
|
several seconds to populate but did finish. Settings' theme mode, wallpaper
|
||||||
all five tabs, Super+A show/hide, and Escape hide were exercised. Phoebus
|
cycle and fit mode, search, and maximize/restore controls were changed and
|
||||||
Welcome opened Help, DMS Welcome and Assistant, closed and reopened; Help
|
restored in the disposable VM. Mango's default
|
||||||
|
`ignore_maximize=1` had made the Settings expand button inert; the Settings
|
||||||
|
window rule now sets `ignore_maximize:0` and both sizes were verified visually.
|
||||||
|
The Assistant's floating window, all five tabs, Super+A show/hide, and Escape
|
||||||
|
hide were exercised. Phoebus Welcome opened Help, DMS Welcome and Assistant,
|
||||||
|
closed and reopened; Help
|
||||||
loaded from its local HTML file with Super+F1. The live Welcome QML was also
|
loaded from its local HTML file with Super+F1. The live Welcome QML was also
|
||||||
loaded in the installed VM for safe control testing: Network, display chooser
|
loaded in the installed VM for safe control testing: Network, display chooser
|
||||||
and DMS display settings, text settings, Power/Cancel, advanced terminal,
|
and DMS display settings, text settings, Power/Cancel, advanced terminal,
|
||||||
|
|
|
||||||
|
|
@ -1656,7 +1656,8 @@ tagrule=id:9,layout_name:tile
|
||||||
|
|
||||||
layerrule=noanim:1,layer_name:^dms
|
layerrule=noanim:1,layer_name:^dms
|
||||||
windowrule=isfloating:1,appid:^com.danklinux.dms$
|
windowrule=isfloating:1,appid:^com.danklinux.dms$
|
||||||
windowrule=width:900,height:700,appid:^com.danklinux.dms$,title:^Settings$
|
# Mango ignores client maximize requests by default; DMS Settings has an expand button.
|
||||||
|
windowrule=width:900,height:700,ignore_maximize:0,appid:^com.danklinux.dms$,title:^Settings$
|
||||||
windowrule=isfloating:1,width:900,height:650,title:^Phoebus Assistant$
|
windowrule=isfloating:1,width:900,height:650,title:^Phoebus Assistant$
|
||||||
windowrule=isfloating:1,width:720,height:600,title:^Welcome to Phoebus OS$
|
windowrule=isfloating:1,width:720,height:600,title:^Welcome to Phoebus OS$
|
||||||
windowrule=isfullscreen:1,title:^Install Phoebus OS$
|
windowrule=isfullscreen:1,title:^Install Phoebus OS$
|
||||||
|
|
@ -3139,7 +3140,7 @@ mod tests {
|
||||||
assert!(config.contains("setlayout,tile"));
|
assert!(config.contains("setlayout,tile"));
|
||||||
assert!(config.contains("togglefloating,"));
|
assert!(config.contains("togglefloating,"));
|
||||||
assert!(config.contains(
|
assert!(config.contains(
|
||||||
"windowrule=width:900,height:700,appid:^com.danklinux.dms$,title:^Settings$"
|
"windowrule=width:900,height:700,ignore_maximize:0,appid:^com.danklinux.dms$,title:^Settings$"
|
||||||
));
|
));
|
||||||
|
|
||||||
let (name, entry) = wayland_session_entry(DesktopProfile::Mango).unwrap();
|
let (name, entry) = wayland_session_entry(DesktopProfile::Mango).unwrap();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue