View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013363 | Scribus | Usability | public | 2015-09-22 01:37 | 2016-04-10 16:24 |
Reporter | marcellarius | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
OS | Ubuntu Mate | OS Version | 15.04 | ||
Product Version | 1.5.1svn | ||||
Target Version | 1.5.2 | Fixed in Version | 1.5.2.svn | ||
Summary | 0013363: Repaint backlog / lag when resizing text frames | ||||
Description | When dragging a text frame to resize it, each mouse move event calls canvas repaint(). The mouse events can occur faster than the repaint causing a huge backlog of input events. | ||||
Steps To Reproduce | 1) Have a slow computer (running Linux?) 2) Start Scribus and create a document 3) Create a text frame. 4) Start a drag to resize the frame and move the mouse around the screen for 10 seconds. Notice the repainting is lagging behind severely. 5) Release the mouse button and watch for the next few seconds as your text frame continues to resize. | ||||
Additional Information | This is seemingly the issue reported in 0013345 and 0013100 | ||||
Tags | Qt5.6, upstream | ||||
Patch | No | ||||
has duplicate | 0013345 | closed | jghali | Mouse lag when drawing a frame |
has duplicate | 0013428 | closed | jghali | Very slow mouse action |
has duplicate | 0013522 | closed | jghali | Slow to draw frame while resizing |
has duplicate | 0013608 | closed | jghali | Severe lag when dragging anything |
has duplicate | 0013100 | closed | Objects movings slower than the mouse which grabs them | |
has duplicate | 0013827 | closed | In-frame image moving / panning is slow |
|
Followup: this isn't just limited to the resize gesture. With the freehand drawing tool I was able to generate a backlogue of events which kept being drawn for nearly 5 minutes after I released the mouse button. Some gestures do not seem to be affected -- the selection tool and magnifier do not show this issue; however the pan gesture does. The indicators on the rulers and status bar reflect the location currently being drawn, not the mouse location. I'm not sure if it's related to this issue, but the scroll wheel behaviour is also extraordinarily sensitive, both for scrolling and zooming. I've tried this on Ubuntu MATE 15.10 beta as well, and am getting the same outcome. This issue is not present in 1.4.5 |
|
I add the video from a duplicate bug here https://www.dropbox.com/s/k1owydgb2yuhv03/prova.mp4?dl=0 |
|
I have two mice, a Microsoft Compact Optical Mouse 500, and a Mad Catz RAT3. The MS mouse is less laggy than the MC. My PC has a 4.2Ghz processor and 16GB or RAM, so this is not down to the the computer's power. It certainly looks like a mouse-polling issue. |
|
Cannot replicate this on openSUSE 13.2 with current 1.5.1svn. Built with Qt 5.4.2. I'm wondering what the reporters are using for video cards and drivers. I'm using an Nvidia card with the proprietary drivers. |
|
I have two cards installed, an Nvidia GTX 650Ti which I have my screen plugged into, and an Nvidia GTX 770 which I use for CUDA only. The black box that shows the mouse coordinates also drags behind, so the whole thing looks a bit silly and is unusable for serious work. |
|
I think my graphics chipset is an Intel GMA950, using the intel Xorg driver. |
|
Can't reproduce on OSX 10.10.5 1.5.1svn r20705 Qt5.5.1 |
|
marcellarius, what specific version of Qt are you running ? |
|
Laser, since this bug also exists on arch per 0013428 can you test this and report results? Thanks! |
|
Posting this here as a reference on how to pinpoint search Qt bugreports https://bugreports.qt.io/browse/QTBUG-45932?jql=project%20%3D%20Qt%20AND%20text%20~%20%22mouse%22%20AND%20affectedVersion%20%3E%3D%205.4.0%20AND%20environment%20%20~%20%22Ubuntu%22 Searches: project = Qt AND text ~ "mouse" AND affectedVersion >= 5.4.0 AND environment ~ "Ubuntu" |
|
Can't reproduce on Archlinux 1.5.1 r20675 qt 5.5.1 Pentium i3-3225 (also used for graphics), htop says up to 2.9% Graphics driver Intel i915 16 GB ram, htop says up to 1.9% Mouse: cheap wireless optical Logitech and optical Gigabyte |
|
Qt 5.4.2 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 5.2.1 20151010) on "xcb" OS: Ubuntu 15.10 [linux version 4.2.0-22-generic] Architecture: i386; features: SSE2 SSE3 |
|
@marcellarius could you possibly test with a more recent version of Qt? (Qt5.5.1) ? |
|
Problem still exists with Qt 5.5.1 and Scribus r20705. Using binaries from: https://launchpad.net/~canonical-qt5-edgers/+archive/ubuntu/backup-qt551 https://launchpad.net/~scribus/+archive/ubuntu/ppa |
|
Question: What does Preferences > User Interface > Interactivity > "Time before resize or move starts:" field say? How much delays in milliseconds ? |
|
150ms |
|
Changing this value does not affect the buggy behaviour. |
|
I can confirm this behaviour also. Looks like it's Qt to blame. Keep seeing this for at least two latest Ubuntu releases. |
|
I think the little black box mouse tip with the x/y location that pops up when dragging is doing something that slows everything else down. When I do a fast drag that finishes before the box can pop up, everything is very snappy. Is there any way of turning off that black box? |
|
@danillius can you provide a screencast or animated gif to show what you're talking about? @vlada I'll take a look upstream to see if there's an open bug related |
|
Can't seem to find an open ticket related. Any help would be appreciated. |
|
Turns out that was a false lead on my part. When I wiggled the middle mouse button for a while to move the whole page around, Scribus lagged behind by several seconds. So, once my mouse stopped moving the page was still jiggling around. Clearly the black box is not the issue. |
|
Turning rulers off improves situation, at least for panning. But creating of objects is still leggy and slow. |
|
This needs to be tested with Qt5.6 to see if there is any improvement |
|
This seems to be window manager related. The symptom was not present on a similar spec system running KDE. I've done some further testing, and on my computer it works fine if use a different window manager (I tested with Fluxbox), or if I disable compositing in MATE Tweak. |
|
I've done some further testing, and on my computer it works fine if use a different window manager (I tested with Fluxbox), or if I disable compositing in MATE Tweak. Thanks @marcellarius Do you mind creating a an upstream bug to said specific Window Manager to track this bug? |
|
It's not specific to Marco (MATE window manager), I see the same problem with Compiz. I haven't been able to test on KWin/Unity/Gnome 3 with compositing because they don't support this hardware; I'll try to reproduce on a more capable machine. |
|
@marcellarius thanks :) |
|
Resolved by xorg-server-1.18.2 and qt5.6 upgrade. Finally! |
|
marcellaius, based on vlada's response 0013363:0039318 can you confirm by testing with Qt5.6 ? |
|
marcellaius ? |
|
ping |
|
Apologies, I've not had time to follow up on this yet. |
|
@marcellarius please follow-up |
|
I'll make time to install Qt5.6 and build Scribus this weekend. Sorry for the delays, life's been busy and it's taken a while to get everything set up again after filesystem corruption nuked my system :( |
|
The issue seems to be resolved in SVN trunk using Qt 5.6 (from Qt website). Ubuntu MATE 15.10 (64 bit) Marco window manager, compositing enabled. |
|
@marcellarius thanks for confirming. Closing |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-09-22 01:37 | marcellarius | New Issue | |
2015-09-23 02:45 | marcellarius | Note Added: 0036334 | |
2015-10-02 04:09 | jghali | Relationship added | has duplicate 0013345 |
2015-10-16 18:40 | jghali | Relationship added | has duplicate 0013428 |
2015-10-16 18:48 | guiodic | Note Added: 0036688 | |
2015-11-11 16:44 | jghali | Relationship added | has duplicate 0013522 |
2015-12-17 23:29 | jghali | Relationship added | has duplicate 0013608 |
2015-12-17 23:38 | danilius | Note Added: 0037938 | |
2016-01-24 02:29 |
|
Note Added: 0038388 | |
2016-01-24 08:50 | danilius | Note Added: 0038389 | |
2016-01-24 09:00 | marcellarius | Note Added: 0038390 | |
2016-01-24 09:00 | Kunda | Note Added: 0038391 | |
2016-01-24 09:02 | Kunda | Note Edited: 0038391 | |
2016-01-24 09:03 | Kunda | Note Added: 0038392 | |
2016-01-24 09:37 | Kunda | Relationship added | has duplicate 0013100 |
2016-01-24 09:53 | Kunda | Note Added: 0038393 | |
2016-01-24 09:54 | Kunda | Note Added: 0038394 | |
2016-01-24 10:33 |
|
Note Added: 0038396 | |
2016-01-24 20:45 | marcellarius | Note Added: 0038410 | |
2016-01-24 21:03 | Kunda | Note Added: 0038411 | |
2016-01-25 00:11 | marcellarius | Note Added: 0038418 | |
2016-01-31 23:56 | Kunda | Note Added: 0038512 | |
2016-02-01 01:52 | marcellarius | Note Added: 0038513 | |
2016-02-01 01:57 | marcellarius | Note Added: 0038514 | |
2016-02-02 09:46 | Vladimir Savic | Note Added: 0038517 | |
2016-02-02 10:08 | danilius | Note Added: 0038518 | |
2016-02-02 12:16 | Kunda | Tag Attached: upstream | |
2016-02-02 12:18 | Kunda | Note Added: 0038519 | |
2016-02-02 12:32 | Kunda | Note Added: 0038520 | |
2016-02-02 12:34 | danilius | Note Added: 0038522 | |
2016-02-02 15:05 | Vladimir Savic | Note Added: 0038532 | |
2016-02-02 15:10 | Kunda | Status | new => confirmed |
2016-03-09 13:07 | Kunda | Tag Attached: Qt5.6 | |
2016-03-09 13:07 | Kunda | Note Added: 0039079 | |
2016-03-10 05:35 | marcellarius | Note Added: 0039094 | |
2016-03-10 13:15 | Kunda | Note Added: 0039097 | |
2016-03-10 20:33 | marcellarius | Note Added: 0039120 | |
2016-03-11 14:00 | Kunda | Note Added: 0039129 | |
2016-03-19 20:32 | jghali | Relationship added | related to 0013827 |
2016-03-21 23:33 | Vladimir Savic | Note Added: 0039318 | |
2016-03-21 23:35 | Kunda | Note Added: 0039319 | |
2016-03-21 23:41 | Kunda | Target Version | => 1.5.2 |
2016-03-24 05:57 | Kunda | Note Added: 0039376 | |
2016-03-29 04:23 | Kunda | Note Added: 0039486 | |
2016-03-29 04:30 | marcellarius | Note Added: 0039490 | |
2016-03-31 04:31 | Kunda | Tag Attached: #tobeclosed | |
2016-04-07 20:56 | Kunda | Note Added: 0039892 | |
2016-04-07 21:17 | marcellarius | Note Added: 0039894 | |
2016-04-10 05:25 | marcellarius | Note Added: 0040000 | |
2016-04-10 16:24 | Kunda | Note Added: 0040022 | |
2016-04-10 16:24 | Kunda | Status | confirmed => closed |
2016-04-10 16:24 | Kunda | Resolution | open => fixed |
2016-04-10 16:24 | Kunda | Fixed in Version | => 1.5.2.svn |
2016-04-10 16:24 | Kunda | Tag Detached: #tobeclosed | |
2016-04-12 04:57 | Kunda | Relationship replaced | has duplicate 0013827 |