Open friday opened 1 month ago
env: fedora gnome wayland display: 1920x1200 window width in ulauncher prefs: 1920 custom margins in theme's css:
.app {
margin: 10em 40em 15em 40em;
}
https://github.com/Ulauncher/Ulauncher/assets/26518927/b03c91b6-f2ab-4124-9933-947a30767312
So this answers to question 1 and perhaps to question 3 (it does not drag upwards).
And according to https://docs.gtk.org/gtk3/css-properties.html margin is of datatype length so we cannot use percentage in the css files. So no easy fix there. One would definitely need to hack around the window codebase, which imho is a bit questionable approach. And I don't see other complaints about splashing on xwayland. So xwayland still looks like a go.
Thank you for testing more. I meant that we could calculate the fixed margins using information about the monitor, and for 3 I meant dynamically changing the margins to move the window. I didn't think it would work without making changed in the Ulauncher logic. I'm very surprised it does (kinda).
Description
I considered that we might be able to solve the Wayland positioning issues by drawing the window over the whole screen, but with a transparent background, and drawing a non-transparent window in the window, but it seems I was over-thinking and @hedgieinsocks found a workaround much easier than that:
I don't have much time to work on or test Ulauncher on other platforms atm, so creating this issue to remember it or get help from volunteers (@hedgieinsocks maybe). I'm interested in the following:
And thank you hedgieinsocks! :pray:
Communication guidelines
Ulauncher v6