SwiftcordApp / Swiftcord

A fully native Discord client for macOS built 100% in Swift!

Home Page:https://swiftcordapp.github.io/Swiftcord/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Folder popover opening cancels server mask animation

Sjmarf opened this issue · comments

commented
Screen.Recording.2023-05-20.at.17.19.13.mov

Arghhh now I've noticed it, I can't unsee it! Since this doesn't appear to happen between servers, it's possibly something to do with one of the fade animations when the mouse is moved on a folder. It's unlikely that its caused by the popover (removing the popover should confirm that) as the popover is a separate view that should not interfere with other SwiftUI animations.

commented

Arghhh now I've noticed it, I can't unsee it! Since this doesn't appear to happen between servers, it's possibly something to do with one of the fade animations when the mouse is moved on a folder. It's unlikely that its caused by the popover (removing the popover should confirm that) as the popover is a separate view that should not interfere with other SwiftUI animations.

I tried adding a popover to the server icons, which caused this issue to happen between the server icons too. That's what made me notice the bug.

I tried adding a popover to the server icons, which caused this issue to happen between the server icons too. That's what made me notice the bug.

Wow if it's actually due to the popover, it looks like a bug in SwiftUI again that'll be a major PITA to fix...

Closing as this appears to be a bug within either AppKit or SwiftUI. Since this isn't a breaking issue, I don't feel that messing around for a fix that might exist is worth it.