elementary / elementary/settings-display

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

Open
#360 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
16
Forks
19
Avg merge
1d 11h
Merged PRs (30d)
1

Description

### What Happened?

When searching for `Displays`, a number of items appear:

![image](https://github.com/elementary/applications-menu/assets/1737376/09f7e111-a7bd-4eb2-8bc9-a087044cf051)

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:

```sh
$ 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:

```sh
$ 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.