I did some further testing when I was at my families house with my brothers computer which also has two identical monitors. I am now sure the bug requires following states to be reproduced.
Two Completely Identical Monitors
The Secondary Monitor Is Flipped
Minecraft is set to full-screen in video settings on the secondary flipped monitor
The steps to reproduce are the exact same as in my older comment as well as my belief in what is causing the bug is the same. Hope this information helps
Hi I was able to reproduce the behavior after updating my Windows. I even reinstalled Windows, still the same behavior. I was also able to reproduce it in 1.19.4 as well as 1.20 pre 1 & 2. My orginal post didn't go into that much depth so here is the exact steps how I am able to reproduce it.
Have 2 Monitors. Stacked Vertically. The Top Monitor is inverted, hence also set to "Landscape (Flipped)" in Windows. The Bottom Monitor is set to my main display and is just in Landscape Mode.
Open Minecraft and Launch any of the above mentioned versions.
Minecraft should per default open on the main display.
If it isn't already in fullscreen go to video settings and change it to fullscreen.
Turn off fullscreen in the video settings.
Move the minecraft window to the inverted monitor.
Set it back to Full Screen, and the window should be rendered inverted.
Some more info about my System and findings:
Using two Omen 3440x1440 Displays set to 100Hz both connected via Display Port
I found that steps 3, 4 and 5 aren't really necessary.
I do not have this bug with other games, hence it cant be the graphics card driver etc.
The Bug is found in the start menu as well as in game
I can reproduce the bug no matter if I change any of my other video settings
I also tried it on my flatmates computer and wasn't able to reproduce the bug
His System runs on two different displays, both not ultra wide
Both Monitors are connected via HDMI
As I am studying computer science my theory of where the bug is:
Minecraft asks Windows for the screen rotation factor. Windows returns this as an array of data. As I have exact same monitor minecraft looks for the first match of the monitor model, which is my primary monitor that is oriented normally, hence doesn't render correctly in fullscreen (as windows isn't anymore responsible for rendering inverted in fullscreen) on my secondary monitor.
Hey Turbo, I have tracked this issue over multiple version and it is still active in 1.21. Could I somehow help getting this fixed? Would be ok with looking at the source code myself. As the game is kind of unplayable in this state on my PC.