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

[Bug] No GUI/window appearing #193

Closed
IdmiDwebe opened this issue Mar 17, 2021 · 6 comments
Closed

[Bug] No GUI/window appearing #193

IdmiDwebe opened this issue Mar 17, 2021 · 6 comments

Comments

@IdmiDwebe
Copy link

IdmiDwebe commented Mar 17, 2021

I'm not sure exactly when it happened but no window is displayed anymore.

Now, when I launch, the application shows in the taskbar and a standard window in the windows task switcher (the alt+tab one) with all the GUI as it should, but clicking on either of these doesn't bring up the window, although other windows do lose focus as they should. I can still control audio with the media keys and I can see what's playing through the task switcher or if I hover over it's icon on the taskbar.

I only have one Windows "desktop" active, and it doesnt seem related to the fact that I'm using dual monitors. Its worked fine on my system for months, and it wasn't caused by the latest update, since it was working at one point with this version.

It happened around the time that I installed the Vulkan SDK (latest version, haven't installed any Vulkan SDK before) on my system, but I'm not sure exactly of when it happened so it may be unrelated, I also updated and installed some Visual Studio components but apart from that I can't think of what the cause could be. Renaming the vulkan SDK folder then re-launching or using the portable version doesnt change anything.

I've tested on the latest version 1.11.0 (installer and portable)

@IdmiDwebe IdmiDwebe changed the title No GUI/window appearing anymore (possible related to installing Vulkan SDK) [BUG] No GUI/window appearing anymore (possible related to installing Vulkan SDK) Mar 17, 2021
@IdmiDwebe IdmiDwebe changed the title [BUG] No GUI/window appearing anymore (possible related to installing Vulkan SDK) [Bug] No GUI/window appearing anymore (possible related to installing Vulkan SDK) Mar 17, 2021
@IdmiDwebe IdmiDwebe changed the title [Bug] No GUI/window appearing anymore (possible related to installing Vulkan SDK) [Bug] No GUI/window appearing anymore (possibly related to installing Vulkan SDK) Mar 17, 2021
@IdmiDwebe
Copy link
Author

For unrelated reasons I did a fresh install of Windows and re-installed the Vulkan SDK and it's working now.

@IdmiDwebe IdmiDwebe changed the title [Bug] No GUI/window appearing anymore (possibly related to installing Vulkan SDK) [Bug] No GUI/window appearing Mar 20, 2021
@IdmiDwebe
Copy link
Author

Without logs or anything else to go on or proof that it wasn't something I did, I guess this issue is kind of useless, I'll just close it.

@IdmiDwebe IdmiDwebe reopened this Jan 7, 2022
@IdmiDwebe IdmiDwebe reopened this Jan 7, 2022
@IdmiDwebe
Copy link
Author

IdmiDwebe commented Jan 7, 2022

This issue has occurred again and it persists after installing 1.15.0 and 1.14.0

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 8, 2022

check out #542

(might be a problem with config - especially window position)

@IdmiDwebe
Copy link
Author

IdmiDwebe commented Jan 8, 2022

Thanks!

Yep, 'x' in 'window-position' in 'config.json' was set to around 4000 (I have a 1080p monitor). Setting it between -1920 and 1920 made it visible on again.

I occasionally use a dual monitor setup and GPU-side super resolution, so I can see myself moving the application window to some x=4000, closing it and it saving that and trying to put it there again when I'm using a single screen or without super resolution

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 8, 2022

@th-ch could maybe add some check that x,y is inside the primary display ?

youtube-music/index.js

Lines 125 to 128 in ec4c2e9

if (windowPosition) {
const { x, y } = windowPosition;
win.setPosition(x, y);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants