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

UI stopped working #581

Closed
banks047 opened this issue Jan 28, 2022 · 9 comments
Closed

UI stopped working #581

banks047 opened this issue Jan 28, 2022 · 9 comments
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version

Comments

@banks047
Copy link

banks047 commented Jan 28, 2022

Hi there. I'd like to report an issue.
I'm having an issue where the app stopped loading ui. It used to work on first run and now it does not, but even though it doesn't show ui, music starts playing in the background. I've tried AppImage and rpm versions and they behave exactly the same
I'm using Fedora 35 Workstation and here's the log from terminal:
image

Per this log, there doesn't seem to be any error when launching. Please let me know which information do you need so we can troubleshoot this.
Thanks in advance!

EDIT: App version 1.15.0

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 29, 2022

Hey this is probably because your window position is offscreen
(was already fixed in #548 and will be included in next release)

meanwhile to fix it you can:
open config.json and change window position to be like (0,0)

config.json folder path:

  • Windows: %AppData%/Youtube Music (MyUser/AppData/Roaming/Youtube Music)
  • Linux: ~/.config/Youtube Music
  • MacOS: ~/Library/Application\ Support/YouTube\ Music/config.json

@banks047
Copy link
Author

Hi, thanks for fast response!
I've tried to change the window position to (0,0) but it still behaved exactly the same :/
I wasn't aware that commit #548 was not included in 1.15 release, i'll try building a more recent version and see how it goes.
PS. I'm using dual monitor setup

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 29, 2022

could be maybe related to the error you seem to get APPIMAGE env not defined. current application is not an AppImage

not sure how to fix that error, dont know where is it even coming from..

could maybe be coming from the Auto-update option, could you try disabling that and see if it changes something?

@banks047
Copy link
Author

banks047 commented Jan 29, 2022

I've wiped the config files from ~/.config/Youtube Music and it started working again. config.json doesn't seem to be much different (other than appVisible being true in working version and false in not working but changing true to false in the working version doesn't do anything) so i think that the culprit is among other files. I'll investigate further and let you know my findings.

Scrap everything i've said - it seems that i've somehow enabled Tray > Enabled + App Hidden and that this behaviour was intentional. Maybe it would be good to somehow either hide this option if the platform is Linux (not sure how it behaves on macOS or Windows) because it seems to be broken and irreversible without wiping the config files

EDIT: Not broken, this seems to be a problem only on recent versions of GNOME desktop environment because it doesn't come with tray icons support (at least on my current Fedora install). I've enabled the AppIndicator extension and the behaviour is now as expected. Sorry for the misunderstanding and i hope this solution helps someone.

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 29, 2022

Good catch!

obviously not a good idea to set the app as tray only when you dont have a tray 😅

@banks047
Copy link
Author

I agree!
It's really worrying that this happens, considering GNOME is the main desktop environment on the most popular Linux distros. I guess we can't do anything about that, but add a disclaimer and a workaround somewhere in README

@JellyBrick JellyBrick added the bug Something isn't working label Oct 7, 2023
@piezza
Copy link

piezza commented Oct 8, 2023

I am not sure if this is same root cause but I have similar problem under Windows 11 that UI is not shown with newest version and App runs in background playing music and I need to stop over task manager.
With v1.20.0 everything works fine, starting with v2.0.0 I have this issue. Also removing %AppData%/Youtube Music does not fix this.

@JellyBrick
Copy link
Collaborator

I am not sure if this is same root cause but I have similar problem under Windows 11 that UI is not shown with newest version and App runs in background playing music and I need to stop over task manager. With v1.20.0 everything works fine, starting with v2.0.0 I have this issue. Also removing %AppData%/Youtube Music does not fix this.

That issue is being tracked in #1273.

@JellyBrick JellyBrick added the wontfix This will not be worked on label Oct 9, 2023
@JellyBrick
Copy link
Collaborator

JellyBrick commented Oct 9, 2023

Fixed due to electron/electron#23926, and electron/electron#36333

@JellyBrick JellyBrick added fix-available A fix to the issue is available in a new version and removed wontfix This will not be worked on labels Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version
Projects
None yet
Development

No branches or pull requests

4 participants