-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: When maximizing a non-focused block, the block border is set incorrectly. #1625
Comments
I'm not able to reproduce this, could you record a video? Also how are you magnifying the block, using the context menu item or the button in the block header? You mention that the block is not focused, but either of these methods for magnifying the block should focus it first so a video would really help understand what's happening. Also is this only in the dev version where you see this or also in the release version? Also do you notice this with all the widgets or just the web widget? Sorry for all the questions 😅 |
Hi @esimkowitz ,Please watch this video. I have tried the latest release and dev versions and this problem exists in all widget. QQ20241227-081306-HD.1.mp4 |
That's so strange, this does not reproduce on my system... |
Ahhh yes that makes sense. We should cancel the denounced update when a newer one comes in |
Hi @esimkowitz , I believe I’ve identified the issue. During the maximize update, clearInnerRectDebounce tries to clear the previously set timeout update event. However, it fails to retrieve the timeout event, so it doesn’t get cleared, which causes the timeout event to still trigger. I have created a PR #1702 that uses a global Map to address this issue. |
Current Behavior
When I maximize a non-focused block, the block border is set incorrectly. I tried debugging the source code to find the answer and discovered that the width and height are first assigned the correct values but are then updated back to their original values.
Expected Behavior
Steps To Reproduce
Clicking the maximize button on the non-focused block
Wave Version
main
Platform
macOS
OS Version/Distribution
macos
Architecture
arm64
Anything else?
No response
Questionnaire
The text was updated successfully, but these errors were encountered: