Bug 34759 - media player pauses when press progressbar (rewind music)
Summary: media player pauses when press progressbar (rewind music)
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.3.1 release
Hardware: All Linux (All)
: medium enhancement
Assignee: Martin van Zijl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Media-Player-Dialog
  Show dependency treegraph
 
Reported: 2011-02-26 04:36 UTC by sasha.libreoffice
Modified: 2020-07-19 19:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sasha.libreoffice 2011-02-26 04:36:22 UTC
On Linux 32 and 64 do Tools->Media Player then open some music (wav file guarantied works). Press Play, then progress bar to rewind music. Player stops.
User must press button Play each time music was rewinded.

On all platforms Player not remembers volume. Always starts with maximum. But mybe it is not a bug.
Comment 1 Yifan Jiang 2011-04-06 23:48:18 UTC
Reproduced in 3.3.1 and I also feel resolving the problems could enhance the user interface.

Mark as enhancement request.
Comment 2 Björn Michaelsen 2011-12-23 11:45:25 UTC Comment hidden (obsolete)
Comment 3 sasha.libreoffice 2012-01-02 02:45:43 UTC
reproduced on LibO 3.5.0 beta 1
Comment 4 Joel Madero 2014-07-13 01:33:36 UTC Comment hidden (obsolete)
Comment 5 Martin van Zijl 2020-07-01 16:28:27 UTC
(In reply to sasha.libreoffice from comment #0)
> On Linux 32 and 64 do Tools->Media Player then open some music (wav file
> guarantied works). Press Play, then progress bar to rewind music. Player
> stops.
> User must press button Play each time music was rewinded.

I have just submitted a patch for this to Gerrit. It fixes the problem for me on Ubuntu 18.04.
Comment 6 Jim Raykowski 2020-07-15 06:18:51 UTC
I don't repro with wav or mp3: 

Version: 7.1.0.0.alpha0+
Build ID: c5e4c2603197ecfbc19957da775f80ba06648105
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 7 Martin van Zijl 2020-07-15 08:58:28 UTC
(In reply to Jim Raykowski from comment #6)
> I don't repro with wav or mp3: 
> 
> Version: 7.1.0.0.alpha0+
> Build ID: c5e4c2603197ecfbc19957da775f80ba06648105
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
> Locale: en-US (en_US.UTF-8); UI: en-US
> Calc: threaded

I can reproduce the issue with wav, mp3 and ogg. I have:

Version: 7.1.0.0.alpha0+
Build ID: 9202793ed81c5568f6789504335446b97e8087da
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3
Locale: en-US (en_NZ.UTF-8); UI: en-US
Calc: threaded

Maybe it depends on the GStreamer version. If I run "gst-inspect-1.0 --gst-version" I get the output "GStreamer Core Library version 1.14.5".

What version of GStreamer do you have?
Comment 8 Buovjaga 2020-07-15 13:25:41 UTC
I can't reproduce it either.

(In reply to Martin van Zijl from comment #7)
> Maybe it depends on the GStreamer version. If I run "gst-inspect-1.0
> --gst-version" I get the output "GStreamer Core Library version 1.14.5".
> 
> What version of GStreamer do you have?

GStreamer Core Library version 1.16.2

In the gerrit patch you had a discussion and for me this is the current reality (without applying your patch): "It sounds like you are experiencing the opposite of the original bug. Instead of being always paused after seek is made, for you it is always playing after seek is made."

So if I am in paused state, it starts playing after I seek.

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: 57fedb272cfcad3436142dbe9eac2870e3c3e3d2
CPU threads: 8; OS: Linux 5.7; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 9 July 2020
Comment 9 Martin van Zijl 2020-07-17 20:53:15 UTC
(In reply to Buovjaga from comment #8)

That's interesting, I wonder why we see different behaviour.

If I run "dpkg -l | grep gstreamer", I see the following installed:

libreoffice-avmedia-backend-gstreamer -- 1:6.0.7-0ubuntu0.18.04.10 -- amd64 -- GStreamer backend for LibreOffice

Do you have this also? If so, which version?
Comment 10 Buovjaga 2020-07-19 19:35:15 UTC
(In reply to Martin van Zijl from comment #9)
> (In reply to Buovjaga from comment #8)
> 
> That's interesting, I wonder why we see different behaviour.
> 
> If I run "dpkg -l | grep gstreamer", I see the following installed:
> 
> libreoffice-avmedia-backend-gstreamer -- 1:6.0.7-0ubuntu0.18.04.10 -- amd64
> -- GStreamer backend for LibreOffice
> 
> Do you have this also? If so, which version?

That package itself is irrelevant. The Debian package description says
"This package used to contain the GStreamer backend for LibreOffice. This has now been merged into the "core" package and this package thus can be safely removed once installed."

https://packages.debian.org/sid/libreoffice-avmedia-backend-gstreamer

Maybe I should ask about this in the dev channel.