Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

icons filcker #4035

Open
ForsakenDelusion opened this issue Dec 29, 2024 · 17 comments
Open

icons filcker #4035

ForsakenDelusion opened this issue Dec 29, 2024 · 17 comments
Labels
bug Something isn't working

Comments

@ForsakenDelusion
Copy link

Describe the bug

When I press the key to bring up the window switcher, the icons of the hidden applications will tremble/flicker.
Screenshots / video

2024-12-29.12.59.24.mov

Steps to reproduce the bug

alt + tab when some app were hidden

Your environment

  • AltTab version: 7.14.1
  • macOS version: 15.1
  • Other relevant info: e.g. using external keyboard, multiple monitors, etc
    I Use the 2k display, and use https://github.com/xzhih/one-key-hidpi to open the hidip on my 2k monitor.I don't know if this has any impact.

And only one app is running.
image

@ForsakenDelusion ForsakenDelusion added the bug Something isn't working label Dec 29, 2024
@lwouis
Copy link
Owner

lwouis commented Dec 29, 2024

Hi,

Thank you for sharing this issue

It looks like the icon is loading in low-resolution first, then in HD:

First Then
image image

@ForsakenDelusion
Copy link
Author

ForsakenDelusion commented Dec 30, 2024

Thank you very much for your reply. Your comment made me notice this issue, so I adjusted the resolution back to the original setting, and the bug disappeared with it. I should have thought of testing this way earlier, and I'm very sorry for the additional work it has caused you. Could this be an upstream issue? I'm not sure if pressing ALT-TAB will solve the problem. Once again, thank you for your valuable contribution.

@lwouis
Copy link
Owner

lwouis commented Dec 30, 2024

Thank you for your message

I adjusted the resolution back to the original setting

What is the exact change you made? Screen resolution? From which value to which value?

I think there may be improvements to be made in AltTab here. AltTab correctly identifies the right resolution to display in. It does it in front of the user. I think we should find a way to make that choice before showing the UI.

My issue is that I've never seen this issue in 5 years of this project. This is the first time someone reports it. I can't reproduce it myself. I'm unsure how it's possible that the image view thinks it's in such a low-resolution initially.

Could you please share more about your resolution, DPI, and if you used 1 or multiple monitor and moved the AltTab window from one to the other? Perhaps changes from a monitor to another are responsible here?

Thank you 🙇

@ForsakenDelusion
Copy link
Author

2024-12-30.19-39-55.mov

I hope this video clearly shows all the changes I've made. When i use HIDPI,almost every time I encounter this issue, but when I revert to the default resolution, everything works fine (note that the first time calling alttab after switching back from HIDPI to the default resolution, the icon flickering problem still occurs, but I believe this is just a normal phenomenon following the resolution switch, and it won't happen again in subsequent uses. I hope I've described it clearly.)I'm using a single monitor and only have one window space. However, there's something to note: Apple's support for 2K monitors in HIDPI is not ideal. So, I used this project: https://github.com/xzhih/one-key-hidpi. I saw in it that it mentioned, "The logo scaling may not work because the high resolution is fake." Could this be the problem? But I think the "logo" here refers to the Apple logo on the Mac startup, not the app icon. However, there might be some connection between the two, so I'm reporting this situation to you. Thank you very much for your attention to this issue.

@lwouis
Copy link
Owner

lwouis commented Dec 30, 2024

Thank you for your message

I'm using BetterDisplay Pro to have HiDPI resolution on my Dell external monitor. I think I addressed the same problem you faced, having a non-Apple external display, and wanting crisp resolution on it.

Could you please try out BetterDisplay Pro, and see if you still face the issue with this tool, instead of one-key-hidpi? I'm wondering if the issue you experienced could be due to the tool doing something a bit exotic, or not.

If you can reproduce the issue with BetterDisplay Pro instead of one-key-hidpi, I think it will confirm that there is an issue with AltTab.

Thank you

@ForsakenDelusion
Copy link
Author

Unfortunately, the issue seems to have become more apparent😿.

2024-12-31.02-13-41.mov

@ForsakenDelusion
Copy link
Author

Unfortunately, the issue seems to have become more apparent😿.不幸的是,这个问题似乎变得更加明显了😿。

2024-12-31.02-13-41.mov

In the next two days, I'll try to install BetterDisplay Pro on a new macOS to test it and hope my test results will be helpful in locating the bugs. But for now, I've got to worry about my final exam tomorrow 😵‍💫. Thank you for your attention to the issue, and I wish you a wonderful day.

@lwouis
Copy link
Owner

lwouis commented Jan 2, 2025

Thank you @ForsakenDelusion
I hope your exam went well!
Thank you for your help resolving this issue 🙇

@ForsakenDelusion
Copy link
Author

Thank you very much! 😇
I tested on the same machine using the new macOS 15.2 with factory settings., and everything worked perfectly Alt-Tab functioned without any issues. I believe the problem was likely caused by that plugin faking some kind of resolution.

@ForsakenDelusion
Copy link
Author

Just now, I upgraded to the latest 7.16.0 version, and was surprised to find that the icon blinking issue seems to have disappeared on my device. However, there's a new problem with the icons. Under certain conditions, the icons shrink and move to the upper left corner. I hope my video description clearly explains this issue.

2025-01-05.12-40-27.mov

@lwouis
Copy link
Owner

lwouis commented Jan 5, 2025

Hi @ForsakenDelusion,

Thank you for sharing. These images are hard to nail down. I found a good article that helped me understand more. I've tried to copy() images instead of sharing them. In my tests locally, it works very well.

Could you please try out this local build and let me know if the flickering happens (I'm not sure about this), and it the app icons are broken or not?

Thank you!

@lwouis
Copy link
Owner

lwouis commented Jan 7, 2025

@ForsakenDelusion actually, I just released a new public version. Could you please try it out?
Thank you 🙇

@ForsakenDelusion
Copy link
Author

@lwouis Hi,I haven't checked my messages promptly in the past two days, and I apologize for that🙇. I tested the latest version 7.18 up to now, as well as version 7.17 and your local build version, and ultimately found that the issue of icon flickering still persists. Only in version 7.16 did the problem of icon flickering change to the icon shrinking to the top-left corner when the application is hidden.Just like the situation mentioned in the video I sent in the previous comment above.
Thank you !😊

@ForsakenDelusion
Copy link
Author

Adding a point I've been overlooking until now—it seems that only Safari and Edge browsers experience icon flickering 🤔. I haven't noticed this issue with more software in use yet.

@lwouis
Copy link
Owner

lwouis commented Feb 4, 2025

Hi,

Could you please try out the build shared here? I think it may resolve this issue as well

Thank you

@ForsakenDelusion
Copy link
Author

Hi,

Could you please try out the build shared here? I think it may resolve this issue as well

Thank you

Hi,Thank you for your long-term dedication to this issue.🧎
I will try it in the coming two days.Beacuase i did`t bring my monitor back during the Spring festival.I will reply to you as soon as possible after trying out the new version.😊

@ForsakenDelusion
Copy link
Author

@lwouis Hi ! Based on initial observations, it runs exceptionally well.!!! I am genuinely happy about this ,Thank you so much ! I'll continue monitoring its performance and provide further feedback.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants