phase1geo / Minder

Mind-mapping application for Elementary OS
GNU General Public License v3.0
994 stars 69 forks source link

Minder sidebar contents shift upwards after initial interaction after opening the sidebar with a selected node, causing erroneous clicks #495

Open nekohayo opened 2 years ago

nekohayo commented 2 years ago

Hi there! I narrowed down a bug with version 1.14.0's sidebar. It's a bit too "situational" to explain in a written report, so please excuse the fact that I'm reporting this with a 2 mins demonstration video showcasing the issue: https://youtu.be/2GjisZxdwtk

Essentially, under some circumstances (maybe dependent on factors like screen resolution / fonts being at 110% scale) the sidebar's contents shifts around after interacting with the node width spinbutton, causing me to click other widgets by mistake.

phase1geo commented 2 years ago

In the video, I am seeing a large gap between the first and second options in the sidebar, when interact with the sidebar element, this spacing disappears. This seems like some sort of Gtk widget rendering issue as Minder only sets widget spacing once when the application is started.

I'm curious to know if the problem persists, if you increase the width of the sidebar by dragging on the separation boundary between the sidebar and the mindmap canvas itself.

nekohayo commented 2 years ago

Can confirm, after testing also on my 12" ThinkPad X220 with 1366x768 resolution (rather than the other laptop that has a 15" 4K screen): it also happens even if you have significantly widened the sidebar before attempting to click on the spinbutton's +/- subwidget. Closing and reopening the sidebar "resets" the problem so it can be reproduced at will.