Skip to content
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

[Windows] Window sometimes rescales itself beyond its border when running other fullscreen apps #1151

Open
silvernull opened this issue May 7, 2024 · 11 comments
Labels
bug Windows Issue exclusive to Windows

Comments

@silvernull
Copy link

Tauon v7.7.2
Windows 10
Nvidia 552.22

The window image has rescaled itself to a smaller size but all of the buttons are in their usual locations (e.g. X to close window is still in the top right of window).

I don't have steps to recreate, I disabled my monitor a few times and had the window minimized for many hours, as well as opening, closing and ALT TABbing an unrelated Borderless window multiple times.
Along with switching to desktop view a few times, nothing in the Tauon application.

image

@silvernull
Copy link
Author

I keep managing to cause this issue and it seems to be relating to 552.22 and rainbow six siege's borderless fullscreen implementation.

@silvernull
Copy link
Author

I can confirm that the NVIDIA driver does not seem to matter.

@silvernull
Copy link
Author

It has still been occuring in 7.8.0

@C0rn3j C0rn3j added the unconfirmed bug Are you getting this bug too? label Dec 21, 2024
@silvernull
Copy link
Author

Ok I think it's due to changing resolution on a fullscreen window.
I'm going to test it and see if it happens every time.

@silvernull
Copy link
Author

Image

Got it to happen again.
It seems to occur after being in a fullscreen application for an indeterminate amount of time with tauon open on the desktop.

@C0rn3j C0rn3j added bug and removed unconfirmed bug Are you getting this bug too? labels Jan 18, 2025
@C0rn3j
Copy link
Collaborator

C0rn3j commented Jan 18, 2025

So this is 7.9.0 on Windows?

Is Tauon itself fullscreened when it happens? Got an example of apps you got it to trigger with except for Rainbow Six?

You got multiple monitors?

Could you grab the log from when it happens? Pressing ` or going into Misc to Toggle Console should give last 50 logs.

@C0rn3j C0rn3j changed the title [Bug] Window image has rescaled itself. [Cannot Recreate] [Windows] Window sometimes rescales itself beyond its border when running other fullscreen apps Jan 18, 2025
@silvernull
Copy link
Author

Yes

No, but it persists between windowed and fullscreen, don't think so.

No

With difficulty, can't copy it

Image

Image

@silvernull
Copy link
Author

silvernull commented Jan 19, 2025

I cannot leave fullscreen by pressing alt+enter or f11 either

Persists with it being in tray.

@silvernull
Copy link
Author

Unrelated to the window decorations.

This is happening far too often.

Image

@silvernull
Copy link
Author

This time, not sure if anything different has occured, also unsure if tauon did the bug before or after r6 was closed,
the GUI and hitboxes lineup.

Image

@C0rn3j
Copy link
Collaborator

C0rn3j commented Jan 19, 2025

With difficulty, can't copy it

You should be able to spam the COPY button and it'll work eventually, it does seem mildly wonky for me on Wayland.

I'll probably add an optional log file at some point to help track things down, as on Windows it's effectively impossible to get any logs through the terminal and the console is currently the only way.

Looks as if something triggers goto_album(), and at a later point get_blur_im() hits and some path which triggers this:

		if (oy_size * ratio) - ((oy_size * ratio) // 4) < window_size[1]:
			logging.info("Adjust bg vertical")
			ratio = window_size[1] / (oy_size - (oy_size // 4))
			ratio += 0.2

		new_x = round(ox_size * ratio)
		new_y = round(oy_size * ratio)

		im = im.resize((new_x, new_y))

Looks possibly related to album art for the background?

This could be a red herring and I could be completely off.

@C0rn3j C0rn3j added the Windows Issue exclusive to Windows label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Windows Issue exclusive to Windows
Projects
None yet
Development

No branches or pull requests

2 participants