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 553085 - After doing gnome-screenshot -w (grab a window), "grab the entrie screen" works to grab a window.
After doing gnome-screenshot -w (grab a window), "grab the entrie screen" wo...
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: screenshot
2.24.x
Other All
: Normal major
: ---
Assigned To: Jonathan Blandford
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-21 04:13 UTC by sangu
Modified: 2008-10-20 19:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description sangu 2008-09-21 04:13:32 UTC
Please describe the problem:
After doing gnome-screenshot -w (grab a window),  "grab the entrie screen" works to "grab a window".

After doing Entrie Screen with Interactive mode (gnome-screenshot -i ), "grab the entrie screen" works well in command line mode.

Steps to reproduce:
1. gnome-screenshot -w -d 2 ( grab a window)
2. gnome-screenshot ( grab the entire screen)
3. 


Actual results:


Expected results:


Does this happen every time?
yes, always.

Other information:
When grab entire screen in interactive mode, WARNNING message prints.

** (gnome-screenshot:8791): WARNING **: Couldn't find window manager window

window manager : compiz 0.7.6
gnome-utils-2.23.92-2.fc10.i386
compiz-0.7.6-10.fc10.i386
libwnck-2.23.92-1.fc10.i386

OS : Fedora Development (rawhide 20080921)
Comment 1 Pascal Terjan 2008-10-07 15:56:28 UTC
Yes it seems that it now recalls the last option which is really bad because:
- There is no command line option for full screen capture so we now have choice between "last choice" and "window", and the only way to be able to take a full screen image agin is to start it with -i.
- Both keyboard shortcuts now only capture the current window (PrintScreen and Alt+PrintScreen)

Comment 2 Sebastien Bacher 2008-10-07 20:43:22 UTC
could this issue be considered for GNOME 2.24.1?
Comment 3 Emmanuele Bassi (:ebassi) 2008-10-14 16:04:00 UTC
I could add a -W|--desktop option that grabs the entire desktop - it would require a break, but it can easily be done by 2.24.1.
Comment 4 Emmanuele Bassi (:ebassi) 2008-10-20 18:48:20 UTC
I decided to partially revert the "save options to gconf" behaviour: the take_window_shot and include_border settings will be deprecated and ignored since 2.24.1.

rationale: those are actions, not preferences; the interactions between:

  - actions stored in gconf
  - interactive dialog
  - command line
  - global key bindings

are absolutely non-trivial.
Comment 5 Emmanuele Bassi (:ebassi) 2008-10-20 18:50:26 UTC
sorry, only the take_window_shot key will be deprecated: the include_border option will remain, with a -B command line argument to disable the border.
Comment 6 Emmanuele Bassi (:ebassi) 2008-10-20 19:00:13 UTC
committed to trunk

2008-10-20  Emmanuele Bassi  <ebassi@gnome.org>

	Bug 553085 – After doing gnome-screenshot -w (grab a window), "grab the entire
	screen" works to grab a window.

	* gnome-screenshot.c:
	(load_options), (save_options): Ignore the take_window_shot GConf key
	when loading and saving the options.
	
	(main): Include a -B|--remove-border command line switch to disable the
	window border.

no new translatable strings have been added but will request a string break after the release for the new command line option. the result is the same (no translation team will be able to fix the new string anyway).