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 710191 - Magnifier: Taking a screenshot crashes gnome-shell
Magnifier: Taking a screenshot crashes gnome-shell
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: magnifier
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
needs-testing
Depends on:
Blocks:
 
 
Reported: 2013-10-15 14:48 UTC by Magdalen Berns (irc magpie)
Modified: 2014-11-13 18:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Magdalen Berns (irc magpie) 2013-10-15 14:48:00 UTC
Recreate:

Turn on the magnifier, try and take a screen shot using the printscreen button your desktop with crash. If that doesn't do it, then printsceen + shift turned my whole desktop green for about 30 seconds, so that might happen. 

Bug is in 3.10
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-10-17 17:09:27 UTC
(In reply to comment #0)
> Recreate:

I have just tried to reproduce this bug on my system.

> Turn on the magnifier, try and take a screen shot using the printscreen button
> your desktop with crash. 

I assume a s/with/will. I was not able to reproduce the crash.

> If that doesn't do it, then printsceen + shift turned
> my whole desktop green for about 30 seconds, so that might happen. 

I tested shift+printscreen, as pressing first printscreen launch the screenshot as usual. 

Shift+printscreen starts do a screenshot of an area, and I agree that the behaviour is strange. When I start it, I just see an empty screen (although in my case is blue). I'm not able to see my desktop until I start  to select the area with the mouse (pressing the button starts the selection, releasing makes the screenshot). This has the problem that you are not seeing the starting point of your selection.

Waiting 30 seconds don't change anything to me.

Looking at js/ui/screenshot.js, it draws manually the selected area (rubberband), so I guess that there are problems with that one and the magnifier. It also gets the color based on the background, so that would explain why I see all the screen blue instead of green (as Magdalen).

> 
> Bug is in 3.10

I tested it using gnome-shell installed at the system, F20. And as I said, I'm able to get the problems selecting an area but not the crash. What gnome-shell are you using? From master?
Comment 2 Magdalen Berns (irc magpie) 2013-10-19 13:32:12 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Recreate:
> 
> I have just tried to reproduce this bug on my system.
> 
> > Turn on the magnifier, try and take a screen shot using the printscreen button
> > your desktop with crash. 
> 
> I assume a s/with/will. I was not able to reproduce the crash.
> 
> > If that doesn't do it, then printsceen + shift turned
> > my whole desktop green for about 30 seconds, so that might happen. 
> 
> I tested shift+printscreen, as pressing first printscreen launch the screenshot
> as usual. 
> 
> Shift+printscreen starts do a screenshot of an area, and I agree that the
> behaviour is strange. When I start it, I just see an empty screen (although in
> my case is blue). I'm not able to see my desktop until I start  to select the
> area with the mouse (pressing the button starts the selection, releasing makes
> the screenshot). This has the problem that you are not seeing the starting
> point of your selection.

Yeah I see what you mean. The screen goes back to normal when you click and drag so it's like it cannot get the magnified image.

> Waiting 30 seconds don't change anything to me.
> 
> Looking at js/ui/screenshot.js, it draws manually the selected area
> (rubberband), so I guess that there are problems with that one and the
> magnifier. It also gets the color based on the background, so that would
> explain why I see all the screen blue instead of green (as Magdalen).
>

Can you elaborate on this a little 
> > 
> > Bug is in 3.10
> 
> I tested it using gnome-shell installed at the system, F20. And as I said, I'm
> able to get the problems selecting an area but not the crash. What gnome-shell
> are you using? From master?

I have 3.10.1 and it's on my regular fedora system. I will try on jhbuild and see if it is present.
Comment 3 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-10-22 08:46:21 UTC
(In reply to comment #2)

> > Looking at js/ui/screenshot.js, it draws manually the selected area
> > (rubberband), so I guess that there are problems with that one and the
> > magnifier. It also gets the color based on the background, so that would
> > explain why I see all the screen blue instead of green (as Magdalen).
> >
> 
> Can you elaborate on this a little 

On comment 0 you said that using shift+printscreen "turned my whole desktop green" in my case was blue. Looking at gnome-shell code, I really think that the color used depends on your current desktop background.


> > I tested it using gnome-shell installed at the system, F20. And as I said, I'm
> > able to get the problems selecting an area but not the crash. What gnome-shell
> > are you using? From master?
> 
> I have 3.10.1 and it's on my regular fedora system. I will try on jhbuild and
> see if it is present.

Ok. Thanks.
Comment 4 Magdalen Berns (irc magpie) 2013-11-20 22:53:39 UTC
Same on GNOME Shell 3.10.2

I note that the screenshot grabs the cursor on a print-screen then shift keypress and moves it to somewhere else when the screen is blue/green
Comment 5 Magdalen Berns (irc magpie) 2014-11-13 18:56:09 UTC
This seems to have been fixed in 3.14