-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Rofi does not open on correct monitor when using -4 flag #1549
Comments
Can you post the output of The |
Here is the |
It correctly detects two monitors:
can you add an issue title? |
My bad, I didn't see the title field for some reason. |
Can you try git? i added some extra debug information.
For me this results in: So it found the 2nd monitor correctly. |
When I run it from the terminal (and the issue occurs), it appears to find a monitor that's a combination of both monitors (including the height offset):
Certainly explains the positioning, now that I see it. I'm not sure why it finds the monitor three times, though.
If this isn't fixable without the window manager being modified then I'll thank you for your time and effort and stick to using the default behavior. |
The three times is just a rofi thing (The function gets called an few times). Ill see if I can figure out why this happens and if I Can do something about it. |
Only notice this now:
according to this layout, there is no monitor at 1894 541 as the monitor starts with 581 offset. Not sure why, can you pastebin the output of |
Here's the output. It shows both of those same monitors. |
I get page not found. |
Apologies for that. I pasted the link incorrectly, I think, and now it seems to have expired. This should work. |
This is weird, your monitor is at a different position then rofi reported. |
Sorry, that was my bad. I leveled my displays to see if that changed anything, and re-offset them when it didn't, and I couldn't get them to have the exact offset as before. I should have mentioned that earlier. |
That atleast clarifies that :D |
It's been a few days but I should probably mention that I will not have access to my external monitor until the 30th, so I won't be able to run diagnostics or anything till then. |
Rofi version (rofi -v)
1.7.2
Configuration
https://gist.github.com/anivelle/80edc0a9d7a7f28a242f9b5c9835bc38
Launch command
rofi -show window -show-icons -m -4
Step to reproduce
Expected behavior
Rofi launches in the center of the monitor with the focused Firefox window.
Actual behavior
If Firefox is in a tile, launching Rofi results in it spanning both monitors, as shown in this image:
(Ignore the weird negative space, I had to sort of gimmick my way into a full screenshot with Rofi open for some reason)
Additional information
Originally this issue only occurred with Firefox (and it is still the only one to consistently do this), and only when I had it on the border between the monitors, but I somehow managed to reproduce it with other apps by launching Rofi after opening my terminal, for some reason. I launch Rofi through a keyboard shortcut, and when I change the keyboard shortcut (even just going in the setting and rewriting the command) the behavior returns to Firefox being the only app to have an issue. Furthermore, and this isn't as much of an issue for me, all the other window modes except for
-5
(which works perfectly) do not work properly. With-3
, rofi shows up far to the bottom right of my cursor, and with the other two it's a miracle if it shows on any monitor at all. This may be due to the theme I am using, I am not sure.Apologies if this is too much info in one issue, this is the first issue ticket I've ever written and I'm not sure how descriptive I'm supposed to be. I imagine unless this isn't a distro/wm-specific issue it might be difficult to reproduce, so I can answer more questions if necessary. Thanks!
The text was updated successfully, but these errors were encountered: