After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 157271 - Icon scaling cursor should be the same as the window resizing cursor
Icon scaling cursor should be the same as the window resizing cursor
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Desktop
2.12.x
Other All
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-03 19:00 UTC by Sven Herzberg
Modified: 2005-12-18 01:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
a patch (7.08 KB, patch)
2005-10-22 05:22 UTC, Matthias Clasen
none Details | Review
newer patch (9.82 KB, patch)
2005-10-24 17:18 UTC, Matthias Clasen
none Details | Review

Description Sven Herzberg 2004-11-03 19:00:37 UTC
When scaling icons (e.g. on the desktop), there are four small squares in the
surrounding box of this icon. When one moves the mouse over one of these
corners, nautilus should let the cursor look like it looks when hovering over a
window's corner (to resize).
Comment 1 Sven Herzberg 2004-11-03 19:01:29 UTC
Please tell me whether this still appears in 2.9 and which files I should look
at to create a patch.
Comment 2 Christian Neumair 2005-06-03 07:50:03 UTC
Yes, it still happens with recent Nautilus versions. Are you still willing to
take a look at it?
Comment 3 Sven Herzberg 2005-06-03 11:51:48 UTC
Yes, as solving this should result in a quite small patch.
Comment 4 Sven Herzberg 2005-06-18 18:05:11 UTC
Martin says that the affected source file should be the one for the icon canvas
item.
Comment 5 Christian Neumair 2005-09-14 21:30:19 UTC
herzi? The code is in
libnautilus-private/nautilus-icon-container.c:motion_notify_event btw.. Grab for
DRAG_STATE_STRETCH.
Comment 6 Matthias Clasen 2005-10-22 05:22:51 UTC
Created attachment 53752 [details] [review]
a patch

The patch uses the resize cursors (this part is tested) and allows the knob
icon to be themed (this part is not tested)
Comment 7 Matthias Clasen 2005-10-24 17:18:45 UTC
Created attachment 53840 [details] [review]
newer patch
Comment 8 Sven Herzberg 2005-11-03 23:08:06 UTC
This patch looks great, I"ve got just one thought about it: should themes be
allowed to set different knobs for different corners?
Comment 9 Martin Wehner 2005-12-18 01:56:32 UTC
2005-10-28  Matthias Clasen  <mclasen@redhat.com>

	* libnautilus-private/nautilus-icon-canvas-item.h:
	* libnautilus-private/nautilus-icon-canvas-item.c (draw_stretch_handles:
	(hit_test_stretch_handle): Improve drawing of the outline for icon stretching,
	make the knob image themable as stock-nautilus-knob.

	* libnautilus-private/nautilus-icon-container.c: Implement icon stretching
	via keyboard, with <Control>+, <Control>- and <Control>0.

	* src/nautilus-window-manage-views.c (zoom_level_changed_callback): Make the
	ZOOM_NORMAL action insensitive when zooming is not supported, so that it 
	does not eat <Control>0.