Skip to content

[screen-toolkit][BUG] OCR, Lens, Measure broken on multiple displays (also Gif FS and Rec FS) #455

Description

@nveeee

Submission checklist

  • I have searched existing issues and confirmed this is not a duplicate.
  • I am using the latest available version of Noctalia and of the plugin.
  • This is a bug in a community plugin, not in Noctalia itself (those belong in the noctalia repo).

Plugin

screen-toolkit

Plugin version

1.3.0

Bug description

When using OCR, Lens, or Measure, nothing happens after selecting a screen region unless I turn off my second display. Gif FS and Rec FS target my second display which is not ideal.

Turning off my second display with niri msg output DP-2 off makes it work as expected.

Steps to reproduce

  1. Have two displays (might be due to second display being on DP-2 and main display on DP-3) (might also be due to bar being disabled on second display)
  2. Select one of the options
  3. Select screen region

Expected behavior

OCR options open on main display, Lens opens web browser, Measure copies to clipboard, and Gif/Rec FS record main display.

Actual behavior

OCR, Lens, and Measure do nothing after selecting screen region. Gif/Rec FS record second display

Logs / error output


Noctalia version

v5.0.0 (5.0.0_beta9.3-dirty)

Compositor

Niri

Environment information


Additional context

A setting to choose which display you want to use for toolkit would probably be good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions