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 711189 - [usability] Newly-opened videos not presented if totem is already running
[usability] Newly-opened videos not presented if totem is already running
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Movie player
unspecified
Other Linux
: Normal minor
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-10-31 03:34 UTC by Daniel Gnoutcheff
Modified: 2014-01-22 17:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Gnoutcheff 2013-10-31 03:34:55 UTC
Steps to reproduce:
0) Startup gnome-shell if needed
1) Ensure that totem isn't running.
2) Double-click on a video file in nautilus.
3) Note that the video opens up in the foreground (i.e. raised and with
   focus).
4) While video is playing, go back to the nautilus window and
   double-click on another video file.

Expected:
- The second video replaces the first video and plays in the foreground,
  raised and with focus, much as was done for the first video.

Actual:
- The second video replaces the first video and plays, but it is not
  raised or focused.
- With totem versions before commit da365fae, a "Movie player is ready"
  notification is presented by gnome-shell.  After that commit, no
  notification appears. 
- If the video is sufficiently obscured by other windows (such as the
  nautilus window), then the naive user, who was ready to watch the
  second video, concludes that their computer failed to open the video.

I'm aware that this is the intended behavior (bug 664492), but I fear
that is is a usability problem.  The "naive user" scenario actually
happened when my mom tried to browse a collection of videos using a
Debian stable system running Gnome (totem version == 3.0.1).  In this
case, the second video was fully obscured by the nautilus window,
leaving her flustered and confused ("Daniel! It's not working!").

When I tried to explain that the video was playing in the backgrounded
totem window, she didn't understand it ("What window?  Where?").  We
could hear the audio playing, but neither that nor the "Movie player is
ready" notification were enough to clear up the confusion.  I ended up
taking the laptop and raising the window myself.

This could easily have happened with later totem versions, including git
master, as they exhibit this behavior as well.

Speaking for myself, I would prefer that totem present itself when the
video is replaced: I'm opening the video 'cause I wanna *see* it. :)  In
many other apps (including gedit, evince, and epiphany), opening a
document/image/whatever brings that thing to the foreground regardless
of the app's prior state; that's generally what I want and expect.

FYI: while Debian's totem precedes the commit that officially introduces
this behavior (da365fae), it also precedes commit bc677491, which fixes
startup notification.  That might account for why mutter/gnome-shell
generates a notification instead of raising the window.

Thanks,
Daniel
Comment 1 Bastien Nocera 2014-01-22 17:47:31 UTC
commit 8ffe655e451e267d6f4c7af89f6cc1635bffdcb9
Author: Bastien Nocera <hadess@hadess.net>
Date:   Wed Jan 22 18:46:16 2014 +0100

    main: Show Totem window when opening new files
    
    If we're already opened. The previous thinking was that people
    might use this to queue music. That's not so interesting anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711189