Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

A lot of false notifications when switching desktops #7

Open
savbran opened this issue May 23, 2020 · 16 comments
Open

A lot of false notifications when switching desktops #7

savbran opened this issue May 23, 2020 · 16 comments
Labels
bug Something isn't working

Comments

@savbran
Copy link

savbran commented May 23, 2020

Hi,
I'm using last version of SylphyHornEx (v.5.4.4) and each time I switch desktops (LetfCTRL + Win + Right/Left Arrow) I see in the Windows taskbar a lot of task notifications (blinking notifications), they are false notifications because nothing is happening on them.
This is confusing because you can't see which task has really notified something, see image enclosured.
false-notifications

@savbran savbran changed the title A lot of task notification when switching desktop A lot of false notifications when switching desktop May 23, 2020
@savbran savbran changed the title A lot of false notifications when switching desktop A lot of false notifications when switching desktops May 23, 2020
@ViRb3
Copy link
Owner

ViRb3 commented Jun 5, 2020

Apologies for missing this issue, apparently by default GitHub disables notifications for forked repositories. I have now enabled them for the time being.

I have also noticed this issue and I am not sure why it is happening. Perhaps @kuukunen has an idea?

@ViRb3
Copy link
Owner

ViRb3 commented Jun 5, 2020

It is worth pointing out that for me the issue only happens when I use "go to virtual desktop number" hotkey, e.g. Ctrl + Win + 1/2. I suspect it could be a problem with focus.

@pvl-rodionov
Copy link

I have such an issue too. A false orange notification appears when SylphyHornEx fails to properly identify active window on the current desktop.
Stably I can obtain the situation by opening Explorer1, Cmd(active) on Desktop1, Explorer2(active) on Desktop2 and starting switching between Desktop1 and Desktop2.
Issue comes then Explorer2 is not identified as active. Moreover, after that Explorer2 may be seen on Desktop1 in the taskbar previews.
For me it takes place with any hotkey, e.g. Ctrl+Win+1/2, Ctrl+Win+Left/Right, Ctrl+Win+X.

@ViRb3
Copy link
Owner

ViRb3 commented Jun 5, 2020

@savbran @pvl-rodionov could you please try disabling the notification window (Settings > Notification > Display a notification ...) and seeing if you can reproduce the issue?

EDIT: The first time I tried this I couldn't reproduce the problem anymore, but now 5 minutes later it has come back.

@pvl-rodionov
Copy link

Confirm.

@ViRb3
Copy link
Owner

ViRb3 commented Jun 5, 2020

This is an interesting issue as SylphyHornEx doesn't do anything with (active) windows, it merely invokes the Windows API to switch virtual desktops. I will investigate this further tonight.

@pvl-rodionov
Copy link

Turned out that disabling Skip default animation ... option solves the problem.

@ViRb3
Copy link
Owner

ViRb3 commented Jun 5, 2020

I have had that disabled but I still come across this issue when using non-standard keybinds (everything that is not Ctrl + Win + Left/Right). Could you try re-producing the issue with that option disabled and by pressing Ctrl + Win + 1/2/etc?

@pvl-rodionov
Copy link

Yeah, you are right, Ctrl+Win+1/2, Ctrl+Win+X still cause the false notification.

@ViRb3
Copy link
Owner

ViRb3 commented Jun 5, 2020

That's a good start, we know the problem is in how we switch virtual desktops and that we're not doing it the Microsoft way.

@mmrsva
Copy link

mmrsva commented Jun 9, 2020

I noticed this issue only happens if there's a windows focused. Try to click on the taskbar (to leave focus from other windows) and then this doesn't happen when switching. If you click on a window before switching, the top most window on the switched desktop will blink. So it seems like a focus issue.

@ViRb3 ViRb3 added the bug Something isn't working label Jul 12, 2020
@Enteleform
Copy link

Enteleform commented Nov 19, 2020

I've tried several virtual desktop management solutions and this seems to be a common issue. The only app I haven't experienced this issue with is zVirtualDesktop, here's a thread with a potential fix:

[zVirtualDesktop/#59] switching desktop causes focused window to blink in taskbar

@Enteleform
Copy link

@ViRb3 just following up since you mentioned earlier in this thread that you had some issues w/ GitHub notifications.

Does the link in my previous comment seem like it could lead to resolution of this issue?

@ViRb3
Copy link
Owner

ViRb3 commented Dec 18, 2020

Hey, thanks for the link @Enteleform. I did indeed check it out, but I haven't had the time to test anything just yet. Hopefully I'll find some time over Christmas and report back here.

@thunderousleader10
Copy link

Would be amazing to get this fixed!

@florianehmke
Copy link

This is a showstopper for me, too distracting :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants