jpochyla / psst

Fast and multi-platform Spotify client with native GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[MacOS] UI items do not react on cursor hovering them

goodness-from-me opened this issue · comments

Describe the bug
UI elements such as lists do not render as hovered upon mouse hovering over them. But when I do scroll the lists with mouse wheel the currently hovered item is properly marked as hovered.

To Reproduce

  1. Having macOS 13.1 install the latest build of Psst.
  2. Try to move mouse through track list or playlist list.
  3. Observe list items are not rendered as "hovered" on mouse hovering over them.

Expected behavior
Items in the lists should properly hover over mouse being over them.

Screenshots

Screen.Recording.2023-01-18.at.2.32.54.pm.mov

Environment

  • OS: macOS 13.1
  • Version: 2023-01-16 build

Additional context
I believe it's another issue that I can observe regarding rendering after #354 has been fixed.
I am not sure wether there was the same behaviour before #354 fix.

It's actually true for all the UI elements, including buttons. Edited bug description.

Do you use a multimonitor setup @goodness-from-me ?

@jacksongoode No, I just use a MacBook Pro with no external monitor.

Does this still happen for you?

Yes, it is still an issue on the latest version.

Is this still an issue? There have since been some scrolling-related fixes in Druid (linebender/druid#2149) that I believe may have fixed this issue.

Yes, the rendering is still buggy and glitchy. But not so much as before. But every now and then on mouse hover or list scrolling items get disappeared and reappeared again in weird ways :( I can record new gifs if that helps.

commented

@goodness-from-me Are you by any chance using an Apple Silicon Mac?

The provided binary only supports x86 Macs and runs through Rosetta.
Building myself largely fixed the issue, but I have no idea why that could be. (There is still some flickering going on, but way way less than before)

commented

(There is still some flickering going on, but way way less than before)

I'm on a Apple Silicon Mac and had the same experience building a binary myself. Some combo of Psst and a previous macOS release introduced some wild flickering, but as of #354 on macOS 13.5.2, today the flickering is mild and hardly a deal-breaker.

In my view, for a music app that's open all day, consuming <100MB RAM is definitely worth the tradeoff.
Thank you @jpochyla for your great work

commented

I don't think there is any way to fix this flickering which would be worth the required effort