mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-22 22:34:13 +02:00
992058348b
Linux build and tests / Build and test (Qt 6, Debug) (push) Failing after 1m41s
A double click on a linked folio report showed the other end's folio and highlighted it, but left the mouse pointer where it was, on every platform, while only Wayland forbids a program to move it. On Windows, X11 and macOS the pointer is now put on the end jumped to, once the folio shown has its size (next turn of the event loop), so that a second double click jumps back. On Wayland the highlight alone still shows where the jump landed. The pointing hand over a report's label text also stayed after a click: mousePressEvent() puts the text colour back, and the cursor was only unset with the colour in hoverLeaveEvent(). It is now always unset when the mouse leaves the text.