Skip to content

Grey out backend-unsupported settings with explanatory tooltips#163

Open
edumucelli wants to merge 1 commit into
masterfrom
feature/backend-aware-settings
Open

Grey out backend-unsupported settings with explanatory tooltips#163
edumucelli wants to merge 1 commit into
masterfrom
feature/backend-aware-settings

Conversation

@edumucelli

Copy link
Copy Markdown
Owner

On Wayland the 'Follow Cursor' setting has no effect because GDK 3
cannot track the global pointer position. Similarly 'Pressure Reveal'
depends on X11 pointer barriers. These settings are now greyed out
when the current backend does not support them, with tooltips
explaining why.

Changes

  • Pass PlatformCapabilities and DisplayServer through the object graph
    (app.py → factory → DockWindow → DockRuntime)
  • Extend _update_dependent_sensitivity() to gate on backend support
  • 'Follow Cursor' disabled on Wayland with tooltip about global pointer tracking
  • 'Pressure Reveal' and 'Pressure Threshold' disabled when pointer barriers
    are unsupported (X11-only)
  • Add set_tooltip_text to FakeSwitch and FakeSpinButton test doubles
  • Update factory and app tests for the new build_dock_window signature

On Wayland the 'Follow Cursor' setting has no effect because GDK 3
cannot track the global pointer position. Similarly 'Pressure Reveal'
depends on X11 pointer barriers. These settings are now greyed out
when the current backend does not support them, with tooltips
explaining why.

- Pass PlatformCapabilities and DisplayServer through the object graph
  (app.py → factory → DockWindow → DockRuntime)
- Extend _update_dependent_sensitivity() to gate on backend support
- Add set_tooltip_text to FakeSwitch/FakeSpinButton test doubles
- Update factory and app tests for the new build_dock_window signature
@netlify

netlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Deploy Preview for dockingbar canceled.

Name Link
🔨 Latest commit 2c5e701
🔍 Latest deploy log https://app.netlify.com/projects/dockingbar/deploys/6a28849901e02f0008d0ecff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant