!IlMdvXrwPGkeeOuMDw:matrix.org

Shortwave

151 Members
Find and listen to internet radio stations - Homepage: https://gitlab.gnome.org/World/Shortwave16 Servers

Load older messages


SenderMessageTime
24 Jul 2024
@msandova:gnome.orgMaximiliano 🥑I mean is the object created on the same thread as the one it geys the prop21:01:31
@felix:haecker.ioFelix both objects are getting created in the SwApp constructor 21:02:22
@felix:haecker.ioFelix * both objects are getting created in the same SwApplication constructor 21:02:32
@msandova:gnome.orgMaximiliano 🥑So it moves to a different thread when the volume is set?21:03:04
@felix:haecker.ioFelix how don't think so - how can I figure out? 21:03:51
@felix:haecker.ioFelix
In reply to @felix:haecker.io
            pulsesink.set_property("volume", pa_volume);
            dbg!(pulsesink.property::<f64>("volume"));
            dbg!(std::thread::current().id());

Both print the same thread ID

I only know it ends up in the same thread, but no idea how / where it moves in between
21:04:14
@msandova:gnome.orgMaximiliano 🥑Print the thread id on obj construction21:04:19
@felix:haecker.ioFelixrust. You're supposed to prevent this kind of crap21:04:44
* @felix:haecker.ioFelix tests21:04:46
@msandova:gnome.orgMaximiliano 🥑
In reply to @felix:haecker.io
rust. You're supposed to prevent this kind of crap
Gobjects prevent that
21:05:04
@gitlab:t2bot.ioGitlab Notifications [World/Shortwave] codemedic replied to a thread on issue #707: Freeze on first appearance and resize

Yes, you might be right; it happens with other GTK apps as well.

...

On Thu, 18 Jul 2024 at 22:52, Felix Häcker (@haecker-felix) < gitlab-issues@gnome.org> wrote:

Felix Häcker https://gitlab.gnome.org/haecker-felix commented https://gitlab.gnome.org/World/Shortwave/-/issues/707#note_2171709:

Sounds like GTK issue, and not being related to Shortwave itself. Does this happen with other GTK apps as well?

— Reply to this email directly or view it on GitLab https://gitlab.gnome.org/World/Shortwave/-/issues/707#note_2171709. You're receiving this email because of your account on gitlab.gnome.org. Unsubscribe https://gitlab.gnome.org/-/sent_notifications/REDACTED/unsubscribe from this thread · Manage all notifications https://gitlab.gnome.org/-/profile/notifications · Help https://gitlab.gnome.org/help

21:05:26
@felix:haecker.ioFelix
In reply to @msandova:gnome.org
Print the thread id on obj construction
nope, same thread
21:07:11
@msandova:gnome.orgMaximiliano 🥑Gotta love gst21:13:55
* @felix:haecker.ioFelix gives up, is out of ideas21:19:44
@felix:haecker.ioFelixThis is by far the weirdest thing I've come across so far. 21:23:11
@felix:haecker.ioFelixI have to verify it tomorrow, but the only difference which is left: The one is a gtk-rs object subclass, the other a plain rust struct21:24:02
@gitlab:t2bot.ioGitlab Notifications [World/Shortwave] haecker-felix replied to a thread on issue #707: Freeze on first appearance and resize

Closing then, as it's not an issue with Shortwave itself.

21:27:47
@gitlab:t2bot.ioGitlab Notifications [World/Shortwave] haecker-felix closed issue #707: Freeze on first appearance and resize 21:27:50
@felix:haecker.ioFelix
In reply to * @felix:haecker.io
wait's for the AAAH moment
I think I just got it 🤦‍♂️
21:36:54
* @felix:haecker.ioFelix facepalms 21:37:02
@felix:haecker.ioFelix I create two instances of the gstreamer backend (as I have two player instances, the legacy and new one) - and I cannot set the volume of the new one, since the playback always comes from the old instance. 21:39:50
@felix:haecker.ioFelixima_a398b6f.jpeg
Download ima_a398b6f.jpeg
21:40:39
@felix:haecker.ioFelix Classic case of ^ 21:40:45
* @felix:haecker.ioFelix can't wait for tomorrow to verify that this was the actual problem all the time. 21:41:40
25 Jul 2024
@msandova:gnome.orgMaximiliano 🥑Oh I love that one, it is a classic06:29:14
@msandova:gnome.orgMaximiliano 🥑It has happened to me so many times06:29:31
@gitlab:t2bot.ioGitlab Notifications [World/Shortwave] haecker-felix pushed 3 commits to wip/haeckerfelix/player-rewrite:
  • e05ab703 player: Add new SwPlayerView class
  • 74823397 ui: Simplify layout machinery a bit
  • 2d4c2b3c ui: Add new volume control widget
12:11:46
@gitlab:t2bot.ioGitlab Notifications [World/Shortwave] haecker-felix pushed 3 commits to wip/haeckerfelix/player-rewrite:
  • ad0baedc station_row: Use new player
  • d1e8a2fc controller: Drop the PlaybackSetVolume message passing
  • d1e5ea6c window: Increase max sidebar width to 350
14:56:57
@gitlab:t2bot.ioGitlab Notifications [World/Shortwave] haecker-felix pushed 2 commits to wip/haeckerfelix/player-rewrite:
  • b7550f9c gstreamer_backend: Simplify volume handling. Closes #727 and #583
  • 06bc445d player_view: Add volume slider
15:02:11
@gitlab:t2bot.ioGitlab Notifications [World/Shortwave] haecker-felix added  Bug  to issue #727: Podcasts volume stays muted after ending a phone call 15:04:14

There are no newer messages yet.


Back to Room ListRoom Version: