[Bug 1194795] Re: Sound menu music seeker in cinnamon counts seconds too quickly
Hi, I've done a lot of work recently on the sound applet, any chance you could try the new version and see if this still happens? you should be able to take this file: https://github.com/linuxmint/Cinnamon/blob/master/files/usr/share/cinnamon/applets/sound%40cinnamon.org/applet.js And replace what's currently in /usr/share/cinnamon/applets/so...@cinnamon.org/applet.js (You should back that file up first) Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194795 Title: Sound menu music seeker in cinnamon counts seconds too quickly To manage notifications about this bug go to: https://bugs.launchpad.net/linuxmint/+bug/1194795/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1194795] Re: Sound menu music seeker in cinnamon counts seconds too quickly
Running Cinnamon under Arch Linux, but I have an identical issue with Rhythmbox 3.0.3. The first track played after stopping is OK, then if you fast-forward the next track plays twice as fast as normal, then 3x speed, etc. One slightly hacky fix in /usr/share/cinnamon/applets/so...@cinnamon.org/applet.js is to add the lines after line 681: if (this._playerStatus == 'Playing') { +if (this._timeoutId != 0) { +Mainloop.source_remove(this._timeoutId); +} this._timeoutId = Mainloop.timeout_add_seconds(1, Lang.bind(this, this._runTimer)); which resolves the issue. Looking through the GLib docs, timeout_add_seconds() should be called repeatedly until it returns false but here it's being called every second during _runTimer() which causes multiple timers running concurrently after track change, resulting in times that are large multiples of the actual time. A better solution might be to start the timer on applet initialisation and reset to zero on track change or seek. Hope this can get rolled into the next update! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194795 Title: Sound menu music seeker in cinnamon counts seconds too quickly To manage notifications about this bug go to: https://bugs.launchpad.net/linuxmint/+bug/1194795/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1194795] Re: Sound menu music seeker in cinnamon counts seconds too quickly
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194795 Title: Sound menu music seeker in cinnamon counts seconds too quickly To manage notifications about this bug go to: https://bugs.launchpad.net/linuxmint/+bug/1194795/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1194795] Re: Sound menu music seeker in cinnamon counts seconds too quickly
** Also affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194795 Title: Sound menu music seeker in cinnamon counts seconds too quickly To manage notifications about this bug go to: https://bugs.launchpad.net/linuxmint/+bug/1194795/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1194795] Re: Sound menu music seeker in cinnamon counts seconds too quickly
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194795 Title: Sound menu music seeker in cinnamon counts seconds too quickly To manage notifications about this bug go to: https://bugs.launchpad.net/linuxmint/+bug/1194795/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs