View Issue Details

IDProjectCategoryView StatusLast Update
0012798ScribusQt5 Portpublic2016-11-17 11:43
ReporterPeterBenedek Assigned ToKunda  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSLinux Mint OS Version17 (32bit)
Product Version1.5.0svn 
Fixed in Version1.5.3.svn 
Summary0012798: Mouse pointer keeps the wrong symbol (arrow pointer). Similar to 0012740.
DescriptionQt version: 5.2.1

Link this video: https://www.dropbox.com/s/s1amz3ovkqo7phe/pelda.avi?dl=0
Steps To Reproduce1. Insert a Text Frame (or any Frame)
2. Quick movement to resize (frame bottom right corner).

Mouse pointer change in arrow shape and it remains (get stuck).
TagsQt5.6.1, upstream
PatchNo

Relationships

related to 0012740 closedFirasH [TESTED-PATCH] Mouse pointer keeps the wrong "L" symbol (set tab spaces) in determined condition 
child of 0002407 acknowledged Metabug: Misleading and wrong cursors 

Activities

FirasH

2014-12-05 13:36

reporter   ~0034279

Reproduced twice, but still difficult to define steps. Investigating...

Kunda

2015-01-24 12:29

updater   ~0034385

This is a weird bug. I can reproduce it partially running OSX 10.9.5 1.5svn r19768 with Qt5.4

Kunda

2015-11-10 20:56

updater   ~0037400

Peter, I can't reproduce this anymore. Can you try to please ?

Laser

2015-11-10 22:36

reporter   ~0037407

Cannot reproduce.
Archlinux uptodate, Scribus 1.5.1 r20507 - everything is fine and as expected.

Kunda

2015-11-10 22:45

updater   ~0037408

Can't reproduce on OSX 10.10.5 1.5.1svn r20546
This must of been a Qt issue?

I'm resolving this.
Peter please retest, thanks!

PeterBenedek

2015-11-11 07:36

developer   ~0037414

Last edited: 2015-11-11 07:36

r20547 still does not work (Qt 5.4.2).
Watch later.

Kunda

2015-11-11 15:20

updater   ~0037426

This most likely is a Qt issue. Peter, please re-check when Qt5 is released for Linux Mint

PeterBenedek

2015-11-12 09:09

developer   ~0037445

Tested: r20547, Qt5.6.0 (beta)
Malfunction happens rarely, but it can be done.

https://www.dropbox.com/s/c5wclmcyzqhazpq/example.avi?dl=0

Kunda

2015-11-12 16:56

updater   ~0037451

I can reproduce this now!
Here is how I did it:
1) Open Scribus
2) Open new document
3) Press 't' to start a text box
4) As shown in Peter's 2nd clip (https://www.dropbox.com/s/c5wclmcyzqhazpq/example.avi?dl=0) start the text box but don't close it. Instead start to whip it downward in a quick motion off the canvas and in to the bottom panel.
Keep repeating the motion until you can reproduce the bug. I was able to reproduce it after 4 iterations.

MacOS 10.10.5 1.5.1svn r20546 Qt5.5.1

Kunda

2016-02-12 22:10

updater   ~0038681

We need to file an upstream bug for this

Kunda

2016-04-04 04:20

updater   ~0039753

Issue still persists in Qt5.6 (1.5.2svn r21160)

Kunda

2016-04-04 12:50

updater   ~0039764

@PeterBendek please test on latest Qt5.6
BTW, I made an upstream bug

Kunda

2016-04-04 12:51

updater   ~0039765

Upstream bug; https://bugreports.qt.io/browse/QTBUG-52332

PeterBenedek

2016-04-04 13:29

developer   ~0039766

Last Qt5.6 (I found this):
https://download.qt.io/official_releases/qt/5.6/5.6.0/

Does not work.

Kunda

2016-04-13 21:10

updater   ~0040151

Last edited: 2016-04-13 21:36

Can someone test this bug w/ bleeding edge Qt5.6.1 (from git) ?

PeterBenedek

2016-04-14 06:06

developer   ~0040155

Tested Qt5.6.1

Does not work.

Kunda

2016-04-14 10:22

updater   ~0040157

Peter, I've reported your findings upstream (https://bugreports.qt.io/browse/QTBUG-52332?focusedCommentId=316310&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-316310)

Kunda

2016-04-14 12:39

updater   ~0040162

Last edited: 2016-11-17 11:43

Qt Dev updated with response:
https://bugreports.qt.io/browse/QTBUG-52332?focusedCommentId=316319&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-316319

> Ok, I can see the bug. Looks like the patch: https://codereview.qt-project.org/#/c/138210/ (Linux/XCB only) doesn't fully fix the problem in Scribus.
For me on Qt 5.6.0 the problem is reproducible always, but on Qt 5.6.1 - sometimes (only on 't', no longer reproducible e.g. on resizing the rectangle).
Problem is in condition

> QGuiApplicationPrivate::lastCursorPosition != global

> - the "lastCursorPosition" and "global" sometimes are the same, so it doesn't block the unwanted leave event in this case.
The unwanted enter/leave events are delivered on mouse move after 't' key, but cursor shape changes only when mouse is outside main window. The problem is caused by tooltip which moves with mouse cursor: "qtooltip_labelWindow" - it gets enter/leaves between tooltip and main window.
Attached stand alone example.

see said ticket to test the attached example

PeterBenedek

2016-04-14 17:12

developer   ~0040177

What should I do?

Kunda

2016-04-14 20:29

updater   ~0040187

Last edited: 2016-04-14 20:30

Peter, you could test the contents of the zip file in the upstream bug. You can use QtCreator to build the standalone application and build it against qt5.6.1

I would help but I'm actually having power supply issues w/ my computer atm

zaps166

2016-04-14 22:09

reporter   ~0040193

Please try (Scribus and/or the example program from QTBUG-52332) with Qt 5.6.1 from GIT with https://codereview.qt-project.org/#/c/155866/ (this is the new bugfix under review, but not in branch yet). Thanks for the bug report, I hope this helps with the bug under Linux/X11.

Kunda

2016-04-15 04:13

updater   ~0040194

Hey craig, could you test zaps166's attempt to fix this issue?. Qt5.6.1 is not building for me. He's asking to build Qt5.6.1 from git and cherrypick the codereview code in to it and then build it against scribus

Kunda

2016-04-18 12:56

updater   ~0040244

Peter, could you try to patch the Qt5.6.1 version you're running with the latest patch from https://codereview.qt-project.org/#/c/155866/ and then build against scribus HEAD ?

PeterBenedek

2016-04-18 13:00

developer   ~0040245

Ok. I test.

Kunda

2016-04-23 00:13

updater   ~0040391

Peter, looks like the Qt fix was merged in to Qt5.6.1 git.
Can you test ?

Kunda

2016-04-23 01:10

updater   ~0040394

No, cancel clear. It hasn't been merged yet AFAICT. Ticket still shows 'unresolved'

zaps166

2016-04-23 09:47

reporter   ~0040397

My patch is already merged into 5.6.1 (c511466d747d99ee76465cfe90ce594fa1f27469), so QTBUG-52332 can be closed as Fixed (I don't have permissions for doing this).

Kunda

2016-04-23 23:37

updater   ~0040412

@zaps166 Fantastic! Thanks for your work. Now we just need to test Qt5.6.1 with Scribus trunk to see if this bug is still present

Kunda

2016-04-29 18:54

updater   ~0040609

Peter, any luck ?

PeterBenedek

2016-04-29 19:53

developer   ~0040611

Last edited: 2016-04-29 19:57

I can not test! Missing Qt 5.6.1 run file, older than 25. april. Only exists Windows exe file (folder 435). https://download.qt.io/snapshots/qt/5.6/5.6.1/

Folder 410 included run file. With no good, it does not work.

I test later...

PeterBenedek

2016-05-30 17:15

developer   ~0041574

Tested Ubuntu 16.04;r21360; Qt5.6.1 (2016.05.30.)

I cannot reproduce animore! Works well!

Kunda

2016-05-30 21:22

updater   ~0041576

Peter, Nice! If the 1st bug is still open then would you plea see comment on it that you can't reproduce anymore?

Kunda

2016-05-30 21:23

updater   ~0041577

Resolving thank to upstream fix.
Thanks!

PeterBenedek

2016-05-31 06:13

developer   ~0041578

"If the 1st bug is still open then..." What do you think? Which bug?

Kunda

2016-05-31 12:35

updater   ~0041579

zaps166, thx so much for the fix. If you don't mind, please make a notation in the upstream bug that the fix worked. The ticket can also be resolved. Thx again!

Peter, sorry. I meant the upstream Qt bug report.

PeterBenedek

2016-05-31 12:52

developer   ~0041580

Last edited: 2016-05-31 13:18

Okay! :-D

Kunda, it's so good?
https://codereview.qt-project.org/#/c/155866/

Issue History

Date Modified Username Field Change
2014-10-30 07:18 PeterBenedek New Issue
2014-10-30 13:22 Kunda Summary Mouse pointer keeps the wrong symbol (arrow pointer). Similar 0012740. => Mouse pointer keeps the wrong symbol (arrow pointer). Similar to 0012740.
2014-10-30 13:22 Kunda Relationship added related to 0012740
2014-10-30 13:22 Kunda Relationship added child of 0002407
2014-12-05 13:36 FirasH Note Added: 0034279
2015-01-24 12:29 Kunda Note Added: 0034385
2015-11-10 20:56 Kunda Note Added: 0037400
2015-11-10 20:56 Kunda Status new => confirmed
2015-11-10 22:36 Laser Note Added: 0037407
2015-11-10 22:45 Kunda Note Added: 0037408
2015-11-10 22:45 Kunda Status confirmed => resolved
2015-11-10 22:45 Kunda Fixed in Version => 1.5.1
2015-11-10 22:45 Kunda Resolution open => fixed
2015-11-10 22:45 Kunda Assigned To => Kunda
2015-11-11 07:36 PeterBenedek Note Added: 0037414
2015-11-11 07:36 PeterBenedek Note Edited: 0037414
2015-11-11 15:19 Kunda Category General => Qt5 Port
2015-11-11 15:20 Kunda Note Added: 0037426
2015-11-11 15:20 Kunda Status resolved => confirmed
2015-11-11 15:21 Kunda Fixed in Version 1.5.1 =>
2015-11-12 09:09 PeterBenedek Note Added: 0037445
2015-11-12 16:56 Kunda Note Added: 0037451
2015-11-13 01:55 Kunda Target Version => 1.6 milestone
2016-02-12 22:10 Kunda Note Added: 0038681
2016-02-12 22:10 Kunda Tag Attached: upstream
2016-04-04 04:20 Kunda Note Added: 0039753
2016-04-04 12:50 Kunda Note Added: 0039764
2016-04-04 12:51 Kunda Note Added: 0039765
2016-04-04 12:51 Kunda Tag Attached: Qt5.7
2016-04-04 13:29 PeterBenedek Note Added: 0039766
2016-04-13 21:10 Kunda Note Added: 0040151
2016-04-13 21:36 Kunda Note Edited: 0040151
2016-04-14 06:06 PeterBenedek Note Added: 0040155
2016-04-14 10:22 Kunda Note Added: 0040157
2016-04-14 12:39 Kunda Note Added: 0040162
2016-04-14 17:12 PeterBenedek Note Added: 0040177
2016-04-14 20:29 Kunda Note Added: 0040187
2016-04-14 20:30 Kunda Note Edited: 0040187
2016-04-14 22:09 zaps166 Note Added: 0040193
2016-04-15 04:13 Kunda Note Added: 0040194
2016-04-18 12:56 Kunda Note Added: 0040244
2016-04-18 13:00 PeterBenedek Note Added: 0040245
2016-04-23 00:13 Kunda Note Added: 0040391
2016-04-23 01:10 Kunda Note Added: 0040394
2016-04-23 09:47 zaps166 Note Added: 0040397
2016-04-23 23:37 Kunda Note Added: 0040412
2016-04-29 18:54 Kunda Note Added: 0040609
2016-04-29 19:53 PeterBenedek Note Added: 0040611
2016-04-29 19:55 PeterBenedek Note Edited: 0040611
2016-04-29 19:57 PeterBenedek Note Edited: 0040611
2016-05-30 17:15 PeterBenedek Note Added: 0041574
2016-05-30 21:22 Kunda Note Added: 0041576
2016-05-30 21:23 Kunda Note Added: 0041577
2016-05-30 21:23 Kunda Status confirmed => resolved
2016-05-30 21:23 Kunda Fixed in Version => 1.5.3.svn
2016-05-30 21:23 Kunda Tag Detached: Qt5.7
2016-05-30 21:24 Kunda Tag Attached: Qt5.6.1
2016-05-31 06:13 PeterBenedek Note Added: 0041578
2016-05-31 12:35 Kunda Note Added: 0041579
2016-05-31 12:52 PeterBenedek Note Added: 0041580
2016-05-31 13:18 PeterBenedek Note Edited: 0041580
2016-06-05 18:13 PeterBenedek Status resolved => closed
2016-11-17 04:34 Kunda Target Version 1.6 milestone =>
2016-11-17 11:43 Kunda Note Edited: 0040162