-
vril
Hi everyone, I noticed that some friends who use Gajim on Windows do not see when they are added to private groups. Did any of you happen?
-
lovetox
Does "not see" mean your are not joined ? Or what do you expect to see exactly?
-
sch
Does Gajim support Dynamic Forms? Do you know of working examples? https://xmpp.org/extensions/xep-0336.html XEP-0336: Data Forms - Dynamic Forms
-
b7g7
why does Gajim not accept self signed certificate? I cannot preview images sent to my server, on Conversations images are visible
-
b7g7
(E) nbxmpp.http Request(xxxx): g-tls-error-quark: Unacceptable TLS certificate (2)
-
lovetox
Because it's not implemented
-
b7g7
lovetox, are you planning to implement this?
-
lovetox
Me personally? No it's not on my list of things I want to work on
-
lovetox
Contributions are welcome though
-
vril
> Does "not see" mean your are not joined ? Or what do you expect to see exactly? Hmm yes.. they do not receive the request of joining in. Next days I will go to watch and I will have more details
-
meson
cal0pteryx, why have you changed it to Gtk.GestureClick? Anyway, I've noticed that the released event is never emitted for yet-to-be-find-out reasons: https://dev.gajim.org/gajim/gajim/-/blob/gtk4/gajim/gtk/preview_audio.py?ref_type=heads#L141✎ -
meson
cal0pteryx, why have you changed it to Gtk.GestureClick? Anyway, I've noticed that the released event is never emitted during a play-back for yet-to-be-find-out reasons: https://dev.gajim.org/gajim/gajim/-/blob/gtk4/gajim/gtk/preview_audio.py?ref_type=heads#L141 ✏
-
meson
never emitted actually*
-
meson
https://stackoverflow.com/questions/72303475/gtk4-gestureclick-no-released-signal-emitted this is from 2022: > The GTK scale widget appears to have some issue with not emitting the released signal.
-
meson
Nice bug.
-
meson
12 hours ago someone wrote in this thread: > I found an easier way... put the GtkScale widget in a GtkBox (or other container), attach the GtkGestureClick to the parent and set its propagation phase to GTK_PHASE_CAPTURE. You'll get Pressed and Released that way. I will try that out.✎ -
meson
12 hours ago someone wrote in this thread: > I found an easier way... put the GtkScale widget in a GtkBox (or other container), attach the GtkGestureClick to the parent and set its propagation phase to GTK_PHASE_CAPTURE. You'll get Pressed and Released that way. I will try that out. ✏
-
meson
Works \o/, so the preview audio is almost fixed I hope, unless there more bugs I haven't encountered yet.
-
meson
cal0pteryx, you have added the comment > # TODO GTK4: release eventcontrollers in do_unroot, though the docs say: > Widgets will remove all event controllers automatically when they are destroyed, there is normally no need to call this function.
-
meson
Another topic, I get a huge cursor currently on Plasma 6.2.1.1 Wayland with the Gtk4 build and the warning > ../gdk/wayland/gdkcursor-wayland.c:210 cursor image size (64) not an integer multiple of theme size (24) but it looks like it's going to be fixed in Gtk soon-ish https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7760 :)
-
meson
and https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7722
-
lovetox
meson: but that a widget gets destroyed all references to it must be released
-
lovetox
Depends where the callback for your event points to
-
lovetox
If it points to a method on the widget itself it's a cycle
-
lovetox
Hence release it in unroot
-
meson
lovetox, makes sense.
-
meson
About setting colors in DrawingArea: before I had used style_context, state flags and render_background, but the latter is now deprecated. How else could I access colors defined in gajim.css to use them for cairo fill() and stroke() ?
-
cal0pteryx
meson: currently we're using SignalManager to connect signals. This class keeps track of handler ids and lets us disconnect all handlers using _disconnect_all() in do_unroot. That's what the comment was about
-
cal0pteryx
I think in gajim's theme window there should be examples of color conversion between gajim.css and rgba values
-
cal0pteryx
css_config should include the logic I think
-
meson
cal0pteryx: css_config was either None or get_value was None weirdly✎ -
meson
cal0pteryx: css_config was either None or app.css.config_get_value was None weirdly ✏
-
debacle
cal0pteryx lovetox Is the gtk4 branch db-compatible with the latest release? I.e. can I go forward and backward without shooting my own foot?
-
meson
cal0pteryx: css_config was either None or app.css_config.get_value was None weirdly ✏
-
meson
debacle: I hope so :) as I just do so
š¤£ 1 -
cal0pteryx
debacle: there shouldn't be any changes to the db code.
š 1 -
meson
cal0pteryx: does `app.css_config.get_value(selector, attr)` only access selectors defined in theme.py? And where are the defaults for those in theme.py, I couldn't find any for eg `.gajim-group-row` in any *.css file.
-
lovetox
could be a old one
-
lovetox
we allowed to theme the group row in the roster
-
lovetox
but i dont think we do anymore
-
meson
I am bit puzzled, I've added `.audiovisualizer { background: #0a66c2: }` to gajim.css and tried to get the value by `app.css_config.get_value('.audiovisualizer', StyleAttr.BACKGROUND)`. `app.css_config` is not None, but `get_value` always None. > CSSConfig handles loading and storing of all relevant Gajim style files > The order in which CSSConfig loads the styles > 1. gajim.css
-
Eduard T
Link Mauve, I fixed the AUR package, fyi
-
lovetox
meson, you cannot get values from gajim.css
-
lovetox
this is for values in default.css
-
lovetox
but what are you trying to solve here, this whole thing is for gajims theme option, i dont want to extend this really, and certainly not to single widgets backgrounds
-
meson
lovetox: I want to have the theme accent colors for the visualizer for the three states: default not-yet-played, played and seek
-
lovetox
maybe try that
-
lovetox
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/css-variables.html
-
meson
Thanks, will check it out tomorrow.
-
Link Mauve
Hi, Iāve checked the Tor proxy in an accountās proxy preferences, and now itās stuck in Connecting state; how can I debug that?
-
Link Mauve
I do have the tor daemon running.
-
amogus
it takes a while, be patient. if its not connected within 5 minutes, somethings wrong
-
Link Mauve
It says 2024-10-21T21:45:41 (I) nbxmpp.connection (linkmauve.fr) Connect Error: g-io-error-quark: HTTP proxy connection failed: 501 (40)
-
Link Mauve
But there should be no HTTP proxy involved, tor exposes a SOCKS5 proxy instead.
-
Link Mauve
meson, GTKāÆ4 highly encourages you to create widgets, instead of using a GtkDrawingArea.
-
Link Mauve
That way you can benefit from all of the CSS machinery.
-
Link Mauve
Eduard T, thanks, Iāve been unavailable this week and unlikely to have time for it now either.
š 1 -
meson
> meson, GTKāÆ4 highly encourages you to create widgets, instead of using a GtkDrawingArea. I will check out what's the difference to what I've done. Thanks ↺
-
Link Mauve
meson, https://blog.gtk.org/2020/04/23/custom-widgets-in-gtk-4-introduction/ and https://blog.gtk.org/2020/04/23/custom-widgets-in-gtk-4-introduction/ might help you with that.✎ -
hannibal
Link Mauve, the links are the same
-
Link Mauve
meson, https://blog.gtk.org/2020/04/23/custom-widgets-in-gtk-4-introduction/ and https://blog.gtk.org/2020/04/24/custom-widgets-in-gtk-4-drawing/ might help you with that. ✏
-
Link Mauve
Oops, thanks fixed!
-
meson
Link Mauve: ah yes, that introduces Gsk and snapshots, but the plan was first to stick with render_func and DrawingArea in order to not make too many big changes.
-
Link Mauve
meson, maybe ignore the wrong theme for now then?
-
meson
I think I found a workaround, which I will try out tomorrow.
-
meson
Later we can move everything, where it makes sense, to snapshop rendering
-
lovetox
Link Mauve, are you sure your server offers connection on the 5222 port and you A record points at the right ip?
-
lovetox
there is no srv record resolution over TOR
-
lovetox
seems more like you maybe configured websocket connection maybe in your account settings
-
lovetox
but i would need to see more from that log
-
Link Mauve
lovetox, Iāve overridden the connection settings to the .onion address, port 5222, and PLAIN connection, and now Iām trying to make Prosody to accept that.
-
Link Mauve
The connection should be secure despite PLAIN, because itās going over tor to the .onion domain.
-
Link Mauve
Even though I use my @linkmauve.fr JID.
-
Link Mauve
But when I check the Tor proxy in Gajim, with no other configuration, it picks HTTP instead of SOCKS5 which is Torās default.
-
lovetox
you would need to share more of the log
-
lovetox
we make many http queries, these need to go over a http proxy
-
Link Mauve
Not a SOCKS5 proxy?
-
lovetox
no idea
-
lovetox
you showed one single line
-
lovetox
it maybe related or not
-
Link Mauve
Should I try with a new profile to get back to the default values?
-
lovetox
you should share the log
-
lovetox
and not try and error
-
Link Mauve
My current log doesnāt use HTTP since I configured it to use SOCKS5 instead.
-
Link Mauve
Iām talking about the default Gajim configuration.
-
lovetox
the log show detailed informations, when it connects to what ip
-
cve-1312
Hi, I just registered on the gitlab, I'm willing send a MR, but it seems I can't fork the repo for now. Should I ask that here? :)
-
cve-1312
Username is the same as here, cve-1312
-
debacle
FYI: Just uploaded a #Gajim git snapshot of the #GTK4 branch to #Debian experimental.✎ -
debacle
FYI: Just uploaded a Gajim git snapshot of the GTK4 branch to Debian experimental. ✏