Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
2.05k stars 448 forks source link

Viewer List window opens in the top left of the screen #3515

Closed DatL4g closed 10 months ago

DatL4g commented 2 years ago

Checklist

Describe your issue

When I open the Viewer List window it opens in the top left corner of my monitor. But it's not even opening at 0x0, it's opening above the first pixel so I cannot close the window.

viewer_list This screenshot is taken from the very top left corner. I have to double-click on the window so it moves in the Chatterino window and then I can close it.

Maybe it's better to display it in a window like the UserCard or the Chatterino Window so we have a top bar like this: image

OS and Chatterino Version

Chatterino 2.3.4 (from RPM) on Fedora 35

Mm2PL commented 2 years ago

Looks related to #2583 to me. However I'm unable to reproduce this issue. I'm using i3 on X11.

DatL4g commented 2 years ago

I don't think it's related to #2583

It has nothing to do with resizing or remembering the size

bathtubdev commented 2 years ago

@DATL4G

Could you please provide this information:

Thank you

DatL4g commented 2 years ago

@bathtubdev sure here it is:

bathtubdev commented 2 years ago

I'm starting to mirror your setup on my computer. I'll let you know when I've done a complete test.

DatL4g commented 2 years ago

Alright just to mention it (idk if it's somehow related to this), I have a 2560x1440 monitor (as primary) and a 1920x1080 monitor on which Chatterino is opened and this issue occurs.

And even if I open Chatterino on my primary monitor, the viewer list opens on the second one

bathtubdev commented 2 years ago

You're 100% sure that the 2560x1440 monitor is selected as the primary monitor in Settings?

DatL4g commented 2 years ago

100% sure yes

image

(for non german speakers: Primärer Bildschirm means Primary monitor)

bathtubdev commented 2 years ago

@DATL4G

Ok. From my testing: this is most likely some kind of issue with X11 on Fedora Gnome with this specific QT program. I couldn't get mutter to run, so there's a chance it could be that as well, since it's Wayland + X11, essentially.

When I login with regular Gnome (Wayland), I have 0 issues with the viewer list on my 2 3440x1440 21:9 monitors. But when I login with X11 Gnome, the viewer list doesn't have a menu bar that I can grab onto with my cursor and adjust/move; it just has an X button and a button under it that brings the viewerlist into Chatterino.

Try this:

You could use this a temporary solution. I haven't tried this on other distributions yet, but from my experience with this (recent versions of Fedora Gnome using any form of X11 with a QT program like Chatterino):

When opening the viewer list, that window is permanently stuck. There is no menu bar like any other windows in any other programs. You can double left click on the vertical black line on the left side of the viewer list window to bring the window into the Chatterino window.

Sorry that I don't have a better answer for you. I'll continue to look into this issue and see if there's anything else we can do.

DatL4g commented 2 years ago

@bathtubdev

Okay I discovered the workaround myself already (that's what I meant in the issue below the screenshot)

I have to double-click on the window so it moves in the Chatterino window and then I can close it.

As far as I can say this behaves the same on PopOS 20.04 and (default configuration) but I cannot give further information for this because I don't have this distro installed anymore but yeah just to mention it's not only on Fedora

bathtubdev commented 2 years ago

Ok thanks for the information. I'll look into that as well.

pajlada commented 10 months ago

I believe this is fixed in the latest nightly. Feel free to re-open this if I'm mistaken