[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2932: TextBox unselects selected text when losing focus with QT5


http://gambaswiki.org/bugtracker/edit?object=BUG.2932&from=L21haW4-

Comment #2 by Bruce STEERS:

Thanks Ben , i figured a simple workaround for the user who has a problem with it.

I use an Observer to note the selection start and length on MouseDrag, MouseUp and KeyRelease with Shift pressed. 
Then if QT5 and lost focus it restores the selection.

https://www.gambas-club.de/viewtopic.php?p=15765#p15765

perhaps a similar (probably much better) workaround may be possible for the qt5 glitch?

Respects


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----