Skip to content

Talon using incorrect resolution for external monitor after laptop sleeps - M1 Mac running macOS Big Sur  #303

Description

@BrokenFlows

When waking my Macbook Pro, connected to an external monitor via a dock, Talon will sometimes use the dimensions of my laptop monitor instead of the external monitor. This doesn't seem to happen each time the display sleeps, and is more common after a prolonged sleep. Restarting Talon seems to resolve the issue.

Talon seems to think that the monitor a smaller resolution than it does. This is, somewhat, illustrated by the following images.

This image shows where the command history shows up by default, while this is going on:
command history
In this image I was looking at the very top right of the screen, and talon thought I was looking nearer the middle-centre:
looking at top right
In this image I was looking at the very top left of the screen, and talon thought I was looking nearer the middle-left:
Screenshot 2021-05-08 at 16 55 20

Taking a page out of nriley's book, on issue #248, using the REPL to ask talon about the screen size yields:

>>> ui.screen.screens()
[Screen(x=0.0, y=0.0, size=(1440.0, 900.0), mm=(286.8705839269302, 179.29411495433135))]

Those are the non-retina dimesions of my laptop monitor, while monitor I'm using is 1920×1080.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions