Resizing Nautilus window using drag handle, handle seems to be "lost" after first drag

Bug #282013 reported by GreySim
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Undecided
Unassigned
compiz (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: nautilus

When dragging the lower-right hand corner of a Nautilus window via the handle, after resizing the window once, the drag handle seems to no longer function. This is using spatial Nautilus, but seems to be broken in browser mode as well. To reproduce: Open a Nautilus window. Mouse to the lower right corner of the window, approaching from the upper left; note where the cursor changes to the resize cursor. Resize the window. Approach the corner again in the same fashion: it doesn't change to the resize cursor until you hit the window border.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/nautilus
Package: nautilus 1:2.24.0-0ubuntu2
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.27-7-generic i686

Tags: apport-bug
Revision history for this message
GreySim (greysim) wrote :
Revision history for this message
Ronan Jouchet (ronj) wrote :

Hello,

Bug confirmed, BUT this is not a Nautilus bug.
The same behaviour is present for example in Totem.
So this should be a GTK issue, but I'm unsure about the package...
--> Need help here!

Note : this is not specific to the Human theme, all the other standard themes have the issue

Changed in nautilus:
status: New → Confirmed
Revision history for this message
Ronan Jouchet (ronj) wrote :

A picture is worth thousands words, see attachment.

Revision history for this message
Ronan Jouchet (ronj) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

not confirming using the current intrepid versions, did you restart your session since the nautilus update?

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
GreySim (greysim) wrote :

I just did an upgrade/restart, and it's still present, but not quite as straightforward as I initially described (I don't think it changed, just my knowledge of it has). If you mouse all over the handle area and note what triggers the drag cursor and what doesn't it may be more evident. It does also seem to be a general GTK issue and not just Nautilus. I've noticed it in X-Chat GNOME now as well, but not Firefox, but I suspect not Firefox because it's not "really" a GTK app. I'm not entirely sure about this either, but resizing via the window border may "reset" the corner drag handle. Also, sometimes the drag handle will appear to work just fine a few repetitions in a row, but then break. My best advice for reproducing it is to just sit there with a Nautilus window and resize it over and over to completely different sizes, mousing over large portions of the drag handle each time to note where it does or does not register.

It may sound like a trivial bug, but more often than not it seems to break for me, and I tended to have to resize windows more than once in a row with the default Compiz configuration of only showing the blue rectangle outline of a window rather than resizing the actual window in-place.

Revision history for this message
Sebastien Bacher (seb128) wrote :

not confirming the issue on intrepid, do you use the desktop effects option?

Changed in nautilus:
status: Incomplete → New
Revision history for this message
GreySim (greysim) wrote :

I do use Compiz, and it does seem to be the source of the problem. Using fusion-icon to turn it off and test resizing, I didn't seem to notice any problems.

Revision history for this message
Sebastien Bacher (seb128) wrote :

reassigning to compiz

Changed in gtk+2.0:
assignee: desktop-bugs → nobody
Revision history for this message
mannheim (kronheim) wrote :

This bug was not present in hardy (compiz-core 0.7.4-0ubuntu7) on my machine. It appears in intrepid (currently 0.7.8-0ubuntu4.1).

Revision history for this message
mannheim (kronheim) wrote :

Another observation: I don't observe this bug if I select the "Normal" method of resizing windows (using ccsm, or with gconf-editor at /apps/compiz/plugins/resize/allscreens/options/mode).

I observe the bug only when using one of the other resize modes ("Outline", "Rectangle" or "Stretch").

Revision history for this message
Ingolemo (ingolemo) wrote :

This appears to be a gtk issue rather than a compiz one since I'm able to reliably reproduce this under metacity (non-composite) using GEdit, System Moniter, and more. I was also able to reproduce it using the gtk.Window.resize function in pygtk.

I suspect that the GtkStatusbar widget isn't getting properly notified when windows are resized and so isn't always moving the "drag handle" to the new location within the window.

Revision history for this message
Oliver Joos (oliver-joos) wrote :

I confirm: it is NOT a compiz issue. I can reproduce this without compiz on Intrepid. With Hardy it is ok.

The symptom seems:
After the window size "jumps" by more than the size of the resize handle area, the area disappears. It reappears when the size is changed again slowly.

To reproduce this bug:
Resize the window and release the left mouse button when the mouse moves fast. Resizing like this by grabbing the window border is also affected. (as opposed to comment #6)

Revision history for this message
Oliver Joos (oliver-joos) wrote :

It's in Jaunty too.
I added this bug to project "One Hundred Paper Cuts". (great project!)

Revision history for this message
Vish (vish) wrote :

Thank you for bringing this bug to our attention.

But I'm unable to reproduce this in Karmic , As already pointed I can reproduce this in Jaunty , But not in Karmic, it seems fixed..

Until someone else is able to reproduce this in karmic , I'm marking this as incomplete.
A paper cut is a minor usability annoyance that an average user would encounter on his/her first day of using a new installation of Ubuntu 9.10.

For further info about papercuts criteria , pls read > https://wiki.ubuntu.com/PaperCut

Changed in hundredpapercuts:
status: New → Incomplete
Revision history for this message
Oliver Joos (oliver-joos) wrote :

In Karmic alpha 3 this bug is still present.

As Ronan wrote in comment #2 it is not a Nautilus problem only. For example gedit is also affected.

In addition to my comment #13: I think, when the button is released while resizing a window, first the window gets redrawn for the last time AND AFTER THAT the mouse coordinates are read to determine where the resize area shall be, and after clipping this area to its usual region it disappears completely.

With a mouse most people will first stop moving before releasing the button and won't see the problem. And on systems with fast cpu/graphics the error will only be a few pixels. But on older Laptops with touchpads the problem is quite obvious. But because the symptom nearly seems random, many users might think their touchpads or movements are just too unprecise.

IMHO this bug would perfectly fit as one of the "One Hundred Paper Cuts", especially because one target of Karmic is to maximize usability on Netbooks.

Revision history for this message
Vish (vish) wrote :

@Oliver Joos , thanx for reminding ...

Yes, this is confirmed in Karmic Alpha3 , for some reason this didnt happen 1 month ago,
If i had noticed which update actually caused this to return , we could have been on track to solving this ! alas...

Changed in hundredpapercuts:
status: Incomplete → Confirmed
Changed in libgtk:
status: Unknown → New
Revision history for this message
Vish (vish) wrote :

This is a really tricky bug!

I now notice that the pointer changes correctly , even on the second hover after the resize...

@Oliver Joos or anyone on Karmic. could you retest this?
Did anyone catch the update that causes the behavior to change?

Revision history for this message
Oliver Joos (oliver-joos) wrote :

With a Karmic alpha 4 Live-CD it is solved here, too!

Revision history for this message
Travis Watkins (amaranth) wrote :

Appears to be fixed now. I've tried all of the steps to reproduce mentioned in this bug with latest karmic and the resize handle always works correctly.

Changed in compiz (Ubuntu):
status: New → Fix Released
Changed in hundredpapercuts:
status: Confirmed → Fix Released
Revision history for this message
Oliver Joos (oliver-joos) wrote :

Upstream report is RESOLVED - FIXED

Changed in libgtk:
importance: Unknown → Undecided
importance: Undecided → Unknown
status: New → Unknown
Changed in libgtk:
importance: Unknown → Low
status: Unknown → Fix Released
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.