huggingface / chat-macOS

Making the community's best AI chat models available to everyone.
Apache License 2.0
1.56k stars 59 forks source link

UI is a blank, invisible window #13

Closed vmajor closed 1 month ago

vmajor commented 1 month ago

I tried to get it to work or give me some error that I can report and thus be more useful, but on MacOS 15.0 the UI is invisible.

The borders of the UI can be highlighted by choosing "Show all windows" and then the invisible UI window is highlighted in blue, however whatever contents there may be are entirely invisible.

cyrilzakka commented 1 month ago

@vmajor any more information would be useful (e.g screenshots, etc)

vmajor commented 1 month ago

@cyrilzakka there is literally nothing visible. Nothing to screenshot. Starting it from terminal gives me this:

./HuggingChat-Mac 
_octo: GH1.1.211467268.1727313824
logged_in: no
hf-chat: e799b219-99ac-42ee-bd71-b60efb939b9b
ConversationViewModel.getActiveModel finished
2024-10-04 11:31:57.905 HuggingChat-Mac[9576:178190] +[IMKClient subclass]: chose IMKClient_Legacy

Nothing appears on screen except for the icon in the sidebar. When I click on the HuggingChat icon on the sidebar this shows up:

2024-10-04 11:31:57.905 HuggingChat-Mac[9576:178190] +[IMKInputSession subclass]: chose IMKInputSession_Legacy

Nothing changes on the screen - still invisible. No further messages show in terminal.

vmajor commented 1 month ago

Update.

I figured it out after invoking the app with sudo. So this is what is happening on my MacOS 15.01:

  1. If I start the app using the GUI nothing appears to greet me except for the icon. I can however invoke the query prompt if I press the shotcut key combination, but I forgot the combination and as I mentioned there was no greeter on start, nothing.
  2. When I start the app from terminal, same thing. No greeter, but it works if shortcut is pressed
  3. When I start the app from terminal as sudo, I get the greeter (yey) and it works and the greeter reminded me what the shortcut is.

Thus the app works, but the UX is bad. Greeter on start, or a way to invoke something visible that would demonstrate a sign of life is necessary.

cyrilzakka commented 1 month ago

@vmajor hmm there should be an intro and onboarding view that pops up when you first launch the app. Either way, I’ll make sure this doesn’t happen again. You can also trigger the UI using the menu bar icon.