window resize (rectangle mode) is crazy-slow

Bug #1039673 reported by Lawrence D'Anna
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Undecided
Unassigned
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Moving a window with alt-drag is responsive and easy to use. It can be accomplished in one fluid motion, with no noticiable latency.

Resizeing with alt-drag is crazy slow. I'd guess it takes about 500ms between when you depress the middle mouse button and when the orange box appears. If you move the mouse during this 500ms window, compiz will get confused and resize the wrong window, or just transfer the focus to the window your mouse wandered into. The problem is particularly annoying if you're using sloppy-focus, but still quite noticiable and annoying with the default click-to-focus.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: compiz 1:0.9.7.8-0ubuntu1.4
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
CompizPlugins: [core,composite,opengl,decor,place,gnomecompat,regex,session,imgpng,compiztoolbox,grid,resize,unitymtgrabhandles,vpswitch,animation,mousepoll,move,expo,workarounds,ezoom,wall,fade,scale,unityshell]
Date: Tue Aug 21 14:18:37 2012
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lawrence D'Anna (larry-elder-gods) wrote :
tags: added: compiz-0.9
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Lawrence,

This sounds very serious. Though in the thousands of bug reports I've seen, this is the first about resizing being so slow.

Could you please run "glxinfo" and attach the output? Please also attach a copy of your /proc/cpuinfo.

Changed in compiz (Ubuntu):
status: New → Incomplete
Changed in compiz:
status: New → Incomplete
Revision history for this message
Lawrence D'Anna (larry-elder-gods) wrote :
Revision history for this message
Lawrence D'Anna (larry-elder-gods) wrote :
Revision history for this message
Lawrence D'Anna (larry-elder-gods) wrote :

NB: everything else (alt-tab, workspace switcher, scale, etc) is all quite snappy and responsive.

Changed in compiz:
status: Incomplete → New
Changed in compiz (Ubuntu):
status: Incomplete → New
Changed in compiz:
milestone: none → 0.9.8.0
Changed in compiz:
milestone: 0.9.8.0 → 0.9.8.1
Changed in compiz:
milestone: 0.9.8.2 → 0.9.8.4
Changed in compiz:
milestone: 0.9.8.4 → 0.9.9.0
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Could you please test Ubuntu 12.10, even in a live image? I think we made some progress on this problem in that release.

Changed in compiz:
status: New → Incomplete
Changed in compiz (Ubuntu):
status: New → Incomplete
Revision history for this message
LiraNuna (liranuna) wrote :

I can confirm window resizing is VERY slow using the nvidia-current driver and setting CCSM -> Resize Window -> Default Resize Mode = Normal.

Using updated 12.10.

Attached /proc/cpuinfo dump.

Revision history for this message
LiraNuna (liranuna) wrote :

Attached glxinfo dump.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

LiraNuna: The issue with nvidia-current is more likely bug 1049214. "Normal" resize mode is quite fast in 12.10 if you're /not/ using nvidia.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

LiraNuna: Please also see bug 1072439 and make sure it's not that one you're experiencing.

Revision history for this message
linux-man (caldas-lopes) wrote :

Same problem with an ATI Card on Ubuntu 12.10 64bits. Updated Compiz 1:0.9.8.4+bzr3412-0ubuntu0.1.
It happens with every driver, from the open-source to the closed latest beta.

Changed in compiz:
status: Incomplete → Confirmed
Changed in compiz (Ubuntu):
status: Incomplete → Confirmed
summary: - window resize is crazy-slow
+ window resize (rectangle mode) is crazy-slow
Changed in compiz:
importance: Undecided → High
Changed in compiz (Ubuntu):
importance: Undecided → High
Changed in compiz:
milestone: 0.9.9.0 → 0.9.9.2
Changed in compiz:
milestone: 0.9.9.2 → 0.9.10.0
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
Revision history for this message
Kellen Green (k-me-s) wrote :

We really some progress on this issue, it practically makes Ubuntu unusable for responsive web development.

Confirmed for...
Ubuntu: 13.10, 13.04, 12.10
Drivers: nvidia-319, nvidia-304, xserver-xorg-video-nouveau

information type: Public → Public Security
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Public Security → Public
Revision history for this message
Eleni Maria Stea (hikiko) wrote :

Since this bug is quite old and we didn't manage to reproduce it I marked it as invalid. If you still experience the same problem, please feel free to re-open it. Thank you!

Changed in compiz (Ubuntu):
status: Confirmed → Invalid
Changed in compiz:
status: Confirmed → Invalid
importance: High → Undecided
Changed in compiz (Ubuntu):
importance: High → Undecided
Revision history for this message
Roger (rogergantner) wrote :

Ubuntu 14.04 here, still experiencing slow/laggy window resizing, although dragging a window works smoothly.

Revision history for this message
Adam Charnock (adamcharnock) wrote :

Ubuntu 16.04, nvidia-364 (NVIDIA binary driver - version 364.19), definitely seeing this problem.

Revision history for this message
Adam Charnock (adamcharnock) wrote :

Update: After updating to nvidia-367 this seems improved. Google Chrome is now the only app that seems to be showing this slowness of resizing.

It is *possible* that this problem was isolated to Chrome prior to the upgrade, but sadly I didn't pay enough attention to be sure.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.