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 589295 - Cannot un-stretch icon in a Nautilus window
Cannot un-stretch icon in a Nautilus window
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 541539 610653 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-07-21 20:21 UTC by florent.angly
Modified: 2010-08-09 19:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Removes manual layout from non-desktop views (#589295) (3.32 KB, patch)
2010-07-25 19:55 UTC, Marcus Carlson
rejected Details | Review
Enable scaling of icons on desktop only (#589295) (1.42 KB, patch)
2010-08-04 19:48 UTC, Marcus Carlson
needs-work Details | Review
Updated patch (6.66 KB, patch)
2010-08-05 20:19 UTC, Marcus Carlson
committed Details | Review

Description florent.angly 2009-07-21 20:21:10 UTC
Steps to reproduce:
- Have an icon on the Gnome desktop
- Right click and stretch the icon
- Open a Nautilus window
- Drag and drop the stretched icon from the desktop to the Nautilus Window
- The icon in the Nautilus window is now stretched and cannot be un-stretched because there is no stretch option when right-clicking on the icon

Expected behavior:
- Either have no stretched icons in Nautilus windows
- Or have stretched icons in Nautilus windows, with a contextual menu to alter the stretching
Comment 1 Cosimo Cecchi 2010-02-27 12:33:34 UTC
*** Bug 610653 has been marked as a duplicate of this bug. ***
Comment 2 Cosimo Cecchi 2010-02-27 12:34:48 UTC
You can unstretch the icons from any view with 'Edit -> Restore Icon's Original Size'.
Comment 3 florent.angly 2010-02-28 01:02:35 UTC
Ok, I see that option...
However, I think it would be much better if the stretch options were present in the contextual menu of Nautilus in addition to the 'Edit' menu. After all, all other contextual actions available from the desktop seem to also be present in the contextual menu of Nautilus. For example, I can 'Move to trash' from the contextual menu both in Nautilus and the desktop; I don't have to 'Edit' -> 'Move to trash' in Nautilus, luckily.
Comment 4 Mariano Suárez-Alvarez 2010-03-01 03:20:42 UTC
This is very unsymmetrical, and as a consequence rather undiscoverable. I did not discover it...  and it thus felt like a bug. ANd *that* is a bug.

It goes against the principle of least surprise.
Comment 5 Cosimo Cecchi 2010-03-01 09:50:13 UTC
As I don't like to clutter context menus too much, I think in that case a good solution would be unstretch automatically icons when they're copied from the desktop (or remove entirely the possibility to stretch/unstretch icons not on the desktop, as that doesn't seem to be very useful in regular views).
Comment 6 Mariano Suárez-Alvarez 2010-03-01 16:06:49 UTC
I like the option of removing stretching when moving out of the desktop. I have never used streching in any other place apart from the Desktop, so that would work too, I guess.
Comment 7 Marcus Carlson 2010-07-25 19:55:21 UTC
Created attachment 166537 [details] [review]
Removes manual layout from non-desktop views (#589295)

    This removes the "Arrange Items -> Manually" and "Clean Up by Name"
    from Icon View as it makes little sense to manually layout your icons
    on other places then the desktop. This also removes stretched icons
    in the same places.

Good or bad idea?
Comment 8 Cosimo Cecchi 2010-07-25 22:33:52 UTC
Review of attachment 166537 [details] [review]:

As I said, I'd rather disable 'Resize Icon' while not on the desktop, without touching manual layout options.
Comment 9 Mariano Suárez-Alvarez 2010-07-26 06:59:03 UTC
(In reply to comment #7)
> Created an attachment (id=166537) [details] [review]
> Removes manual layout from non-desktop views (#589295)
> 
>     This removes the "Arrange Items -> Manually" and "Clean Up by Name"
>     from Icon View as it makes little sense to manually layout your icons
>     on other places then the desktop. This also removes stretched icons
>     in the same places.
> 
> Good or bad idea?

I do not see why it "makes little sense" to manually layout your icons in regular folders.  I know the spatial idea has fallen out of favor (and I am simply shocked—and mild annoyed—by that, to be honest!), but has it really stopped making sense now? Really?
Comment 10 Mariano Suárez-Alvarez 2010-07-26 07:01:37 UTC
Simply removing the 'Resize Icon' while not on the desktop is the only sensible fix to this.
Comment 11 Vish 2010-07-26 09:59:22 UTC
(In reply to comment #9)
> 
> I do not see why it "makes little sense" to manually layout your icons in
> regular folders.  I know the spatial idea has fallen out of favor (and I am
> simply shocked—and mild annoyed—by that, to be honest!), but has it really
> stopped making sense now? Really?

Could you post a screenshot of how you use the manual layout? Would help to know the usage advantages here. [I've always wondered why someone would use a manual layout in a file *manager*. while it makes sense in the desktop though.]

or How does it help organize better?
Comment 12 Vish 2010-07-26 10:09:21 UTC
Plus there is an item "Clean Up by Name" , which is even more confusing as to why "Name" is the only option that we are allowed to Re-organize with.
Comment 13 Marcus Carlson 2010-07-26 11:01:39 UTC
(In reply to comment #9)
> (In reply to comment #7)
> I do not see why it "makes little sense" to manually layout your icons in
> regular folders.  I know the spatial idea has fallen out of favor (and I am
> simply shocked—and mild annoyed—by that, to be honest!), but has it really
> stopped making sense now? Really?

As Vish stated, nautilus is a file manager and should be able to handle this for you. Also, I think that because manual mode is only available for Icon view when not in compact layout it's confusing for users.
Making sense? For spatial - maybe. For browsing mode where the window might have a different size when you open a folder - don't think so. But please - prove me wrong. ;)
Comment 14 Cosimo Cecchi 2010-07-26 13:06:50 UTC
@Vish and Marcus: if you want a broader discussion on manual layout, or 'Clean up by Name', please bring it down to the mailing list.

What I said in comment #5 and comment #8 is my favourite solution.
Comment 15 Marcus Carlson 2010-07-28 20:50:28 UTC
*** Bug 541539 has been marked as a duplicate of this bug. ***
Comment 16 Marcus Carlson 2010-08-04 19:48:18 UTC
Created attachment 167144 [details] [review]
Enable scaling of icons on desktop only (#589295)
Comment 17 Cosimo Cecchi 2010-08-05 08:06:00 UTC
Review of attachment 167144 [details] [review]:

Are you sure this is enough?
I would also like the 'Resize Icon...' and 'Restore Icon's Original Size' menu entries to be removed from the window menus.
Also, while you're at it, it would be nice at this point to move the feature into fm-desktop-icon-view.c instead of hardcoding type checks in fm-icon-view
Comment 18 Marcus Carlson 2010-08-05 20:19:16 UTC
Created attachment 167213 [details] [review]
Updated patch

No, I totally missed those menus, sorry. This one adds a new virtual method and uses that one instead.
Comment 19 Cosimo Cecchi 2010-08-06 12:09:31 UTC
Review of attachment 167213 [details] [review]:

Thanks for your patch, looks good. Please push to master.
Comment 20 Marcus Carlson 2010-08-09 19:49:49 UTC
Comment on attachment 167213 [details] [review]
Updated patch

Pushed, closing as FIXED.