GNOME Bugzilla – Bug 785173
gnome shell: folder's popup arrow misplaced after first time opening the folder
Last modified: 2017-07-20 17:04:37 UTC
The first time a folder is opened the arrow of the popup containing the apps (BoxPointer) is correctly placed pointing to the folder in the apps view. However, closing the folder and re-opening it again (which reuses the instance of AppFolderPopup) causes the arrow to be rendered in the wrong place while the folder is open. From this state, it can be seen how the arrow gets back to its place for a split second when the popup is closed, though, so this might be a problem with some miscalculation at the time it's opening only. After reaching this point, any further attempt to open the same folder without leaving the overview results in the same broken behaviour described in the previous paragraph.
Created attachment 356050 [details] 1st run: Folder is open and arrow is in the right place
Created attachment 356051 [details] 2nd run: Folder is open and arrow is in the WRONG place
For extra reference, I've been debugging this for a while and it seems that the issue is happening because the call to clutter_actor_get_transformed_position() in https://git.gnome.org/browse/gnome-shell/tree/js/ui/boxpointer.js#n245 is returning wrong values for some reason when opening the folder from the 2nd time on. I haven't quite figured out yet why that's the case, but printing the values of absX and absY and experimenting with hardcoding some values there for debugging purposes seem to clearly suggest that this is where things get broken.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 778323 ***