Launcher opening on active screen with Labwc

Open Beginner friendly
#4,490 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Domain
desktop

Research direction

Start by reading CompositorService.qml, especially getFocusedScreenName() and how the launcher uses the focused screen. The issue suggests using the active toplevel's first screen for Labwc; check how that data is exposed and compare with existing compositor cases. Done when the launcher opened by shortcut appears on the screen containing the focused window under Labwc.

Written by the indexing model from the issue text.

Description

Feature Description

With Labwc as Compositor the Launcher always opens on the first screen (mostly laptop), when pulled by shortcut. A possibility to let it open on the active screen would be great

Use Case

QoL Improvement having the launcher always on that screen, that I'm focusing on at the moment

Compositor(s)

Other (specify below)

If Other, please specify

Labwc

Proposed Solution

getFocusedScreenName() in CompositorService.qml has no labwc case, maybe the active toplevel's screen could be used:
if (isLabwc) return ToplevelManager.activeToplevel?.screens?.[0]?.name ?? "";

Alternatives/Existing Solutions

No response

Dominant language
QML
Stars
8.4k
Forks
549
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AvengeMedia/DankMaterialShell

All issues in AvengeMedia/DankMaterialShell

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.