GNOME: totem controls not accessible

  • Open
  • quality assurance status badge
Details
3 participants
  • Maxime Devos
  • Tobias Geerinckx-Rice
  • Roman Riabenko
Owner
unassigned
Submitted by
Roman Riabenko
Severity
normal
R
R
Roman Riabenko wrote on 25 May 2022 08:03
(address . bug-guix@gnu.org)
2e715e0492a32632b4392e2fffeae8ff1a33437a.camel@riabenko.com
Hello

When viewing a video in totem, totem controls in the botton are not
accessible with the mouse. It is possible to control the playback with
keyboard.

totem version 3.38.1
clutter version 1.26.2 in totem's dependencies per "guix show totem"

Roman
M
M
Maxime Devos wrote on 28 May 2022 17:11
a5c175d27ae2a24205b7116456ac08fc796fadb2.camel@telenet.be
Roman Riabenko schreef op wo 25-05-2022 om 09:03 [+0300]:
Toggle quote (4 lines)
> When viewing a video in totem, totem controls in the botton are not
> accessible with the mouse. It is possible to control the playback with
> keyboard.

What kind of accessibility are you looking for? Supporting only the
mouse is usually considered to be inaccessible and additionally
supporting keyboard control is usually considered good for
accessibility, so I assume you're referring to a different kind of
accessibility (*) here.

and other sources have some information on what is usually meant by accessibility.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYpI7qhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nLbAP41SowU9+c4R8R3cZ2UkDuNy7Aa
2sg2G20psH+ywO/xvgD/Zv2Zlhz/1g1cFoiQKZap228AGG7BsKhvmw3cKbD3Jg0=
=7mf8
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 28 May 2022 17:20
6afa4c292c4171e05cdf6a8ad5de227325a6c86e.camel@telenet.be
Roman Riabenko schreef op wo 25-05-2022 om 09:03 [+0300]:
Toggle quote (11 lines)
> Hello
>
> When viewing a video in totem, totem controls in the botton are not
> accessible with the mouse. It is possible to control the playback with
> keyboard.
>
> totem version 3.38.1
> clutter version 1.26.2 in totem's dependencies per "guix show totem"
>
> Roman

I tried reproducing this:

$ guix shell --pure totem -- totem '/home/[...]/[...].mp4'

but for me it was even worse, it was unable to play the video at all:

** Message: 15:13:20.263: Missing plugin: gstreamer|1.0|totem|MPEG-4 AAC decoder|decoder-audio/mpeg, mpegversion=(int)4, level=(string)1, base-profile=(string)lc, profile=(string)lc (MPEG-4 AAC decoder)
** Message: 15:13:20.263: Missing plugin: gstreamer|1.0|totem|H.264 (Main Profile) decoder|decoder-video/x-h264, level=(string)2.2, profile=(string)main (H.264 (Main Profile) decoder)

Looks like a bug, especially since the package description says:

synopsis: Simple media player for GNOME based on GStreamer
description: Totem is a simple yet featureful media player for GNOME
which can read a large number of file formats.

Adding gst-plugins-bad resolves this.

Maybe the description should state that additional formats are
available from gst-plugins-bad may need to be installed? Though then
bad plugins would be recommended ...

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYpI90hccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tJ5AQDu+5wudxh9B9icVTf+eBqrtenz
B7+D1z4F1jo7mDTNkwEA1DZ8pIsAKxw1KFytjlhvmyewYqnF1inR8pCMnUNEYQs=
=kjpW
-----END PGP SIGNATURE-----


T
T
Tobias Geerinckx-Rice wrote on 28 May 2022 17:35
7AFB0B2E-0699-41DF-8A45-58E6BA41133B@tobias.gr
'Accessible' just means 'available' (toeganklijk, same problem though).

It does not generally imply 'accesibility' as used in various fields of engineering, although of course we're biased to read it so.

Anyway, Maxime: do the buttons work for you once the codec's fixed? My computer seems to have frozen whilst building them.

Ah, engineering.

Kind regards,

T G-R

Sent on the go. Excuse or enjoy my brevity.
M
M
Maxime Devos wrote on 28 May 2022 18:29
ac742afd32bf9e616a4004c83d007c62e374661b.camel@telenet.be
Tobias Geerinckx-Rice schreef op za 28-05-2022 om 15:35 [+0000]:
Toggle quote (6 lines)
> 'Accessible' just means 'available' (toeganklijk, same problem though).
>
> It does not generally imply 'accesibility' as used in various fields of engineering, although of course we're biased to read it so.
>
> Anyway, Maxime: do the buttons work for you once the codec's fixed? My computer seems to have frozen whilst building them.

Pressing the ‘pause’ buttons turns it into ‘play’ button and the other
way around.

The next chapter/movie button doesn't work, but the file that is
playing doesn't have any chapters, so not surprising. OTOH, there is
another .mp4 in the same directory.

The previous/next chapter are ‘accessible’ in the sense that they are
visible, the cursor could be moved on top of them and moving the cursor
above them displays a tiny popup, but they are unclickable.

I don't know what exactly was meant by accessibility (the existence of
the buttons or the pressability?) in the bug report.

There is some weirdness though:

* no sound (though that might be a problem in the played mp4 itself,
there were some recording problems)
* The pause/play button don't seem to have any effect apart from
toggling what the button looks like -- the played mp4 remains
frozen.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYpJN3hccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7mzfAP9aF6uXOOaMhSw7Y52VRS0ZHSs+
t33X/b3Gz2U48dvECQD/ZormLTJ1nPglslMT8hUAkuuhe+8oT0S3vQ/19yaGlAs=
=eCJM
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 28 May 2022 18:34
298d7e0d5257e762852114c65c2548a29faf35f0.camel@telenet.be
also, some other potential problems:


(totem:147294): Gtk-WARNING **: 16:32:42.791: Could not load a pixbuf
from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be
found.

** (totem:147294): WARNING **: 16:32:42.897: An error occurred trying
to open logo org.gnome.Totem: Icon 'org.gnome.Totem' not present in
theme gnome

^^^ icon problems

(totem:147294): Totem-WARNING **: 16:32:42.898: Failed to acquire
screensaver proxy: Failed to execute child process ?dbus-launch? (No
such file or directory)

^^^ file names needing a substitute*

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYpJPJhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7r1rAP4/KgrpMb6uhicv5EkSL54H3uwD
IPawAOv4r34NbYVXrQEAi5ReHgVkb/AaieagGO50KuzWtD4PPrg8JVPz5QpQbgc=
=0IR0
-----END PGP SIGNATURE-----


R
R
Roman Riabenko wrote on 28 May 2022 21:15
a3b6be0550f48da545bca86e0104671830af22c3.camel@riabenko.com
Thank you for looking into this and sorry for confusion!

I just noticed that my issue happens only under Wayland. I configured
my system with Wayland and completely forgot about it. Now, I relogined
into Xorg session from GDM greeter and there was no such problem with
totem. Still, Wayland should be supported...

The issue is: when I click or drag on the contorls in the panel in the
bottom of totem, nothing happens, as if they are a picture. When I
double click on them, totem goes full screen or is restored from full
screen respectively.

Because I realized that it is related to Wayland, I looked up totem
issues and found two similar reports:
Though, I am not yet sure what the cause really is.

? ??, 2022-05-28 ? 17:20 +0200, Maxime Devos ????:
Toggle quote (4 lines)
> Maybe the description should state that additional formats are
> available from gst-plugins-bad may need to be installed? Though then
> bad plugins would be recommended ...

After some trial-and-error, I had installed gst-libav in my user
profile to play mp4 files. gst-plugins-bad is just one of the options.
After Debian, I am quite accustomed that totem is not playing "bad"
formats out-of-the-box, so there was no surprise here for me. The
synopsis could tell that the player is extensible and supports
additional formats through GStreamer plugins.

? ??, 2022-05-28 ? 18:34 +0200, Maxime Devos ????:
Toggle quote (18 lines)
>(totem:147294): Gtk-WARNING **: 16:32:42.791: Could not load a pixbuf
> from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
> This may indicate that pixbuf loaders or the mime database could not
> be
> found.
>
> ** (totem:147294): WARNING **: 16:32:42.897: An error occurred trying
> to open logo org.gnome.Totem: Icon 'org.gnome.Totem' not present in
> theme gnome
>
> ^^^ icon problems
>
> (totem:147294): Totem-WARNING **: 16:32:42.898: Failed to acquire
> screensaver proxy: Failed to execute child process ?dbus-launch? (No
> such file or directory)
>
> ^^^ file names needing a substitute*

I do not see this when I start totem from terminal. Maybe that is
because I am using GNOME. I mean that I have the system configured with
(service gnome-desktop-service-type) and totem is installed as a system
application.

For your reference, I attach what I get from the terminal when I start
totem from terminal, play a video from the library, click and double
click on controls, then close. I see nothing relevant there. The
error.log shows something related to plugins. The stdout.log shows how
totem fails to generate thumbnails for videos. I opened a different
issue for the latter: https://issues.guix.gnu.org/55624

Roman
Attachment: error.log
$ LC_ALL=C totem 2>error.log
totem-video-thumbnailer couldn't open file 'file:///tmp/P6240066.MP4'
totem-video-thumbnailer couldn't open file 'file:///tmp/P7280064.MP4'
totem-video-thumbnailer couldn't open file 'file:///tmp/P8120531.MP4'
totem-video-thumbnailer couldn't open file 'file:///tmp/HumanRights%20Zajcev%2020061005%2002.MPG'
totem-video-thumbnailer couldn't open file 'file:///tmp/MOV00157.MPG'
totem-video-thumbnailer couldn't open file 'file:///tmp/MOV00161.MPG'
totem-video-thumbnailer couldn't open file 'file:///tmp/MOV01854.MPG'
totem-video-thumbnailer couldn't open file 'file:///tmp/MOV01855.MPG'
totem-video-thumbnailer couldn't open file 'file:///tmp/MOV02835.MPG'
totem-video-thumbnailer couldn't open file 'file:///tmp/MOV02934.MPG'
??????? ???????????
M
M
Maxime Devos wrote on 28 May 2022 21:28
be93e39031c9ed8b613dbe54d4974592f8e4b0f1.camel@telenet.be
Roman Riabenko schreef op za 28-05-2022 om 22:15 [+0300]:
Toggle quote (12 lines)
> > (totem:147294): Totem-WARNING **: 16:32:42.898: Failed to acquire
> > screensaver proxy: Failed to execute child process ?dbus-launch?
> (No
> > such file or directory)
> >
> > ^^^ file names needing a substitute*
>
> I do not see this when I start totem from terminal. Maybe that is
> because I am using GNOME. I mean that I have the system configured
> with (service gnome-desktop-service-type) and totem is installed as a
> system application.

Probably the reason is that I am doing things in a ‘pure’ environment
here:

$ guix shell --pure totem -- totem a-file.mp4

In a ‘pure’ environment, various environment variables are unset, which
avoids interference with other installed applications, which can be
usefel for debugging. If you try "guix shell --pure totem -- totem",
you'll probably at least see the logo warning.

I don't expect it to be related to the issue you originally reported
though.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYpJ3xBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kFGAP0QD3NbhiwEPcb7fyWc6HtexETc
s4ZnZFPKT5PZi+m+yAD/UkMAJ/hsEYRpG2CVzqtBOXlGELpTEPG0NG/6FR2uEAY=
=Ca/c
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 28 May 2022 21:31
861503c28fd2befbbb013239522d508da48e7163.camel@telenet.be
Roman Riabenko schreef op za 28-05-2022 om 22:15 [+0300]:
Toggle quote (6 lines)
> (totem:4116): libpeas-WARNING **: 22:05:01.766: Type not found in
> introspection: 'PeasActivatable'
>
> (totem:4116): libpeas-WARNING **: 22:05:01.766: Method
> 'PeasActivatable.deactivate' was not found

‘Activatable’ might mean buttons and such, maybe GI_TYPELIB_PATH needs
to be added to the wrap-program in the package definition of 'totem'
like for some other GTK applications.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYpJ4lhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hayAP9xLSE/iJPZ37295HGdSOboReq+
peklif5qvULuyOQH3QEA2KpFHtPRBaaDQmF5WEbYUPgm9Hxzs9k/54k+ArT4xws=
=LAcU
-----END PGP SIGNATURE-----


R
R
Roman Riabenko wrote on 30 May 2022 20:45
29c5129448a23006db10a4c4a4a6b9e5e64e124b.camel@riabenko.com
Hello

? ??, 2022-05-28 ? 21:31 +0200, Maxime Devos ????:
Toggle quote (12 lines)
> Roman Riabenko schreef op za 28-05-2022 om 22:15 [+0300]:
> > (totem:4116): libpeas-WARNING **: 22:05:01.766: Type not found in
> > introspection: 'PeasActivatable'
> >
> > (totem:4116): libpeas-WARNING **: 22:05:01.766: Method
> > 'PeasActivatable.deactivate' was not found
>
> ‘Activatable’ might mean buttons and such, maybe GI_TYPELIB_PATH
> needs
> to be added to the wrap-program in the package definition of 'totem'
> like for some other GTK applications.

(I looked at rhythmbox for an example.) When I add GI_TYPELIB_PATH to
wrap-program, libpeas-WARNING stops appearing. Though I notice no other
change. I also tried adding GUIX_PYTHONPATH as in rhythmbox, but I
notice no effect. I attach an example output from terminal.

Roman
Attachment: output.txt
?