Nautilus ignores --geometry argument

Bug #154594 reported by Tony Whelan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Low
nautilus (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs
Hardy
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

Nautilus 2.20.0, Ubuntu 7.10, AMD64 machine

I have looked and don't see any other bug reports about this yet, though I have seen queries about it on foums.

I use Nautilus in "Browser" mode normally, rather than in "Spatial" mode.

I have been trying to make sense of the Nautilus "--geometry" command line argument. Regrettably the manual doesn't tell you the format of the argument - A terse "--geometry=GEOMETRY" is all it says.

By experimenting (and a little snippet from forums) I deduced that the --geometry argument is in the format WxH+HO+VO meaning dialog box width x height plus horizontal offset (start point) and vertical offset (start point).

The reason I care about the geometry argument is that I wanted to have a button (script) that launches 2 Nautilus browser windows in split-window fashion, to facilitate drag-and-drop operations. Here's my little test script for it:

[CODE]
#!/bin/sh
nautilus --geometry=1280x512+0+0
nautilus --geometry=1280x512+0+512
[/CODE]

This should open two full-width windows (my screen res is 1280x1024), one at top of screen and other at lower half of screen. Sometimes it does. But Nautilus evidently has a memory. If you have clicked the "maximise" icon near top-right of the previous Nautilus session, then when the above script launches you get two full-screen windows instead - so it takes no notice of the geometry argument. You have to un-maximise each window manually to get what is wanted.

Evidently Nautilus is programmed to ignore command line arguments some of the time :(

It would be preferable for Nautilus to have a built-in toolbar button that switched to a dual-window mode. But I had hoped that this simple script would do the job and am disappointed that Nautilus won't respect its own command-line argument.

I realise that I could switch to Spatial mode as the default Nautilus behaviour and then open two windows. But that is not as useful to me as having two browser windows docked together.

ProblemType: Bug
Architecture: amd64
Date: Sat Oct 20 07:06:40 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/nautilus
Package: nautilus 1:2.20.0-0ubuntu7
PackageArchitecture: amd64
ProcCmdline: nautilus --no-default-window --sm-client-id default2
ProcCwd: /home/tonywhelan
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux HERCULES 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux

Revision history for this message
Tony Whelan (tony-whelan) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. That's an upstream request and a non usual usecase, we don't have the ressources to work on that at the moment but the bug should be sent to bugzilla.gnome.org by somebody with interested in the request

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. This report should be send upstream by someone interested on it, for filing instructions please take a look to https://wiki.ubuntu.com/Bugs/Upstream/GNOME, I'm leaving this as Incomplete until it gets forwarded upstream, thanks.

Changed in nautilus:
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

nobody seems to be interested to send the issue upstream, closing for now, feel free to reopen if you send it to bugzilla.gnome.org

Changed in nautilus:
status: Incomplete → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

there is http://bugzilla.gnome.org/show_bug.cgi?id=92566 open upstream about a similar issue

Changed in nautilus:
status: Invalid → Triaged
Changed in nautilus:
status: Unknown → Confirmed
Changed in nautilus:
status: Confirmed → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

fixed upstream already, thanks for reporting.

Changed in nautilus:
status: Triaged → Fix Committed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

also spatial mode issues is followed in bug http://bugzilla.gnome.org/show_bug.cgi?id=533858

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Changed in nautilus:
status: Confirmed → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in intrepid now

Changed in nautilus:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is also in hardy-updates

Changed in nautilus:
status: Fix Committed → Fix Released
Revision history for this message
Tony Whelan (tony-whelan) wrote :

Have installed the latest updates in Hardy on my machine and the geometry argument now certainly does what it should, though I have not done any rigorous tests. Thanks to those who made this happen.

Changed in nautilus:
importance: Unknown → Low
Revision history for this message
Jonatan Zeidler (jonius) wrote :

I have the same issue with nautilus 3.6.3 again.

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.