-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Description
Describe the bug
On the Fedora 38 beta, running Wayland and using GDK_BACKEND=wayland, Gdk.Display.get_primary_monitor returns None. As a result, ScreenArea.lookup_monitors fails, and pympress fails on startup.
There appear to be several fundamental limitations that prevent screen positioning from functioning properly with Wayland and Gtk (eg, window position information is not actually meaningful). However, changing this code to simply return something for the primary monitor will result in pympress working, with the limitation that some window positioning will not work.
To Reproduce
Steps to reproduce the behavior:
- Start pympress, under the conditions noted.
Environment (please complete the following information):
- OS: Fedora 38 beta
- Python version: 3.11.2
- Pympress version: 1.8.0 and 8702f2e
- Installation method: copr (release) and pip (git)
Metadata
Metadata
Assignees
Labels
No labels