helge17 / tuxguitar

Improve TuxGuitar and provide builds
Other
492 stars 42 forks source link

Switching between linear and page layout sometimes fails #432

Closed guiv42 closed 5 months ago

guiv42 commented 5 months ago

Reproduced with both versions 1.6.3 and 1.5.6, running on Linux (openSuse tumbleweed)

To reproduce:

  1. open a tab
  2. click menu View/Page Layout
  3. click menu View/Linear Layout

then, repeat steps 2. and 3. many times (occurrence of issue is quite low)

Sometimes one operation fails: user action is ignored, layout does not switch Sometimes, 2 successive and fast switches are applied

guiv42 commented 5 months ago

understood. It's a bit incredible this bug has been there for so long:

There, 2 tasks are started in parallel! : switch to linear layout AND switch to page layout Result just depends from the execution sequence

explanation: when one SWT radio button is clicked, it generates an event. But if another radio button of the same group was selected before, it gets unselected and also generates an event

Fix coming soon