Desktop left a boxPointer after popup menu closed
Affected version
gnome-shell 3.36.0
In Virtual Machine KVM
Bug summary
gnome-shell works on Xorg, click top right panel twice, popup menu opens and closes, but a boxpointer is left.
If gnome-shell works on wayland, the issue doesn't happen.
Steps to reproduce
- system in virtual machine KVM
- gnome-shell on Xorg
- click top right panel twice
Relevant logs, screenshots, screencasts etc.
If I add this patch, issue disappears.
diff --git a/js/ui/boxpointer.js b/js/ui/boxpointer.js
index 03cb4a567..9558e89a5 100644
--- a/js/ui/boxpointer.js
+++ b/js/ui/boxpointer.js
@@ -150,10 +150,10 @@ var BoxPointer = GObject.registerClass({
duration: animationTime,
mode: Clutter.AnimationMode.LINEAR,
onComplete: () => {
- this.hide();
this.opacity = 0;
this.translation_x = 0;
this.translation_y = 0;
+ this.hide();
if (onComplete)
onComplete();
},
Edited by Xiaoguang Wang