24 Jul 2024 |
Maximiliano 🥑 | I mean is the object created on the same thread as the one it geys the prop | 21:01:31 |
Felix | both objects are getting created in the SwApp constructor | 21:02:22 |
Felix | * both objects are getting created in the same SwApplication constructor | 21:02:32 |
Maximiliano 🥑 | So it moves to a different thread when the volume is set? | 21:03:04 |
Felix | how don't think so - how can I figure out? | 21:03:51 |
Felix | 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 |
Maximiliano 🥑 | Print the thread id on obj construction | 21:04:19 |
Felix | rust. You're supposed to prevent this kind of crap | 21:04:44 |
| * Felix tests | 21:04:46 |
Maximiliano 🥑 | In reply to @felix:haecker.io rust. You're supposed to prevent this kind of crap Gobjects prevent that | 21:05:04 |
Gitlab 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 | In reply to @msandova:gnome.org Print the thread id on obj construction nope, same thread | 21:07:11 |
Maximiliano 🥑 | Gotta love gst | 21:13:55 |
| * Felix gives up, is out of ideas | 21:19:44 |
Felix | This is by far the weirdest thing I've come across so far. | 21:23:11 |
Felix | I 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 struct | 21:24:02 |
Gitlab 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 Notifications | [World/Shortwave] haecker-felix
closed issue #707: Freeze on first appearance and resize | 21:27:50 |
Felix | In reply to * @felix:haecker.io wait's for the AAAH moment I think I just got it 🤦♂️ | 21:36:54 |
| * Felix facepalms | 21:37:02 |
Felix | 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 | Download ima_a398b6f.jpeg | 21:40:39 |
Felix | Classic case of ^ | 21:40:45 |
| * Felix can't wait for tomorrow to verify that this was the actual problem all the time. | 21:41:40 |
25 Jul 2024 |
Maximiliano 🥑 | Oh I love that one, it is a classic | 06:29:14 |
Maximiliano 🥑 | It has happened to me so many times | 06:29:31 |
Gitlab 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 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 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 Notifications | [World/Shortwave] haecker-felix
added Bug
to
issue #727: Podcasts volume stays muted after ending a phone call | 15:04:14 |