elementary / switchboard-plug-display

Switchboard Displays Plug
https://elementary.io
GNU General Public License v3.0
14 stars 18 forks source link

System settings "Displays" deeplinks always go to "Night Light" tab #360

Open itsravenous opened 1 year ago

itsravenous commented 1 year ago

What Happened?

When searching for Displays, a number of items appear:

image

However, selecting any of these takes you to the Night Light tab of the Displays settings section.

Steps to Reproduce

  1. Open app menu (e.g super + space)
  2. Type Displays
  3. Select one of the sub-items, e.g. Displays -> Filters -> Colour Blindness
  4. See the Displays settings window open, with the Night Light tab open.

Note: the system settings process shows like so when launching from any of these app menu options:

$ ps ax|grep io.elementary.switchboard
  90977 ?        Sl     0:00 io.elementary.switchboard settings://display

Sub-items for the Desktop system settings section "deep-link" fine, and I notice that they show like this:

$ ps ax|grep io.elementary.switchboard
  94461 ?        Sl     0:00 io.elementary.switchboard settings://desktop/appearance

Should there be another segment to the settings://display url perhaps? I tried manually running io.elementary.switchboard settings://display/filters but it still opened at the Night Light tab.

Screen recording:

https://github.com/elementary/applications-menu/assets/1737376/f00b6c1f-c873-4559-93ed-e18e133178f1

Expected Behavior

I expect the settings window to open at the relevant tab.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response