-
bot
Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *37ba4f17* < https://dev.gajim.org/gajim/gajim/-/commit/37ba4f178e91e994391ef18bea80011f3728ce35 > refactor: Contacts: Return presence data only from active resource
-
nicoco
So we call `self.get_active_resource()` for each property access after all? Most likely optimising this will not have any visible effets, people don’t have thousands of resources connected...
-
lovetox
i looked into the code, and we really access this data in very few places
-
lovetox
so i opted for cleaner code
-
lovetox
but if there would be a hot path somewhere, the code can get the resource, and access the attributes there, instead of going over the barecontact obj
-
bot
Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *61062089* < https://dev.gajim.org/gajim/gajim/-/commit/61062089b80bc91cb6098e3f39e025b884873e24 > feat: RosterTooltip: Display BareContact presence Fixes #10963
-
lovetox
^ please review, if this works now for your component
-
lovetox
as for gateway types and names displayed in the tooltip, im not opposed to this, but it should really go into another label and not be a fallback status
-
lovetox
nicoco, i would like to improve the support of gateways in general in Gajim
-
lovetox
my idea is to have a dedicated dialog thats named "Gateways" and it shows you on the first page all gateways offered by your server, but you can also add others (not on your server)
-
lovetox
and providing the register and execute commands option there
-
lovetox
another idea is to provide a options to define a default workspace for gateway chats, and give that workspace a appropriate icon
-
nicoco
> nicoco, i would like to improve the support of gateways in general in Gajim Excellent! Is the current disco dialog is deprecated too, just like the roster?
-
nicoco
The dedicated dialog sounds like an excellent idea to me, obv :).
-
nicoco
Exposing "Jabber search" on the gateway would be quite nice too. It's currently implemented in the service disco dialog, it would be a pity to lose it. Cheogram uses jabber:iq:gateway* which could also be interesting for cases where the "legacy network user ID" is something that is human readable and unique, eg a phone number or a username. Maybe the ability to search for "legacy contacts/MUCs" should be part of the "Start Chat" dialog? * https://xmpp.org/extensions/xep-0100.html#addressing-iqgateway
-
bard_
did something change with how pinned chats are organized in gajim? restarted it earlier because it was lagging and now my order is screwed up. had it memorized and would use alt and a number to get to certain ones and can't seem to get it quite right now
-
bard_
for some reason I can't just drag them around either, thought I could before. I keep unpinning and repinning... really horrible
-
bard_
it's possible I had an older version running and now a newer version opened up. ran updates the other day
-
lovetox
Hm should work with drag
-
lovetox
I have to try, sometimes it's a bit delicate to find the drip point
-
lovetox
nicoco: yes that would good in start chat
-
lovetox
I try to look at the gateway icon thing today
-
nicoco
Cool!
-
nicoco
lovetox: about the avatar tooltip, shouldn't just use the tooltip currently used in the roster?✎ -
nicoco
lovetox: about the avatar tooltip, shouldn't we just use the tooltip currently used in the roster? ✏
-
nicoco
Next to each resource, add idle time if there is one?
-
lovetox
Yes something in that direction was the idea. cal0pteryx wanted to explore if a popover on click would be nicer, as it would allow to add action buttons
-
lovetox
This is Les useful in the single chat, but more in the groupchat if you click on an avatar
-
nicoco
oh right, he told me and I already forgot.
-
cal0pteryx
I'm willing to try two weeks from now ;))
-
lovetox
nicoco
-
lovetox
https://share.hoerist.com/philipp/fvrkiaPdUAsUaF7O/Screenshot_from_2023-09-30_16-09-18.png
-
lovetox
its a bit tiny, but not sure how to solve that
-
lovetox
and also need to find round icons for all the gateways
-
23
I have recently had to do a clean install of Debian and just noticed notifications are not working for Gajim and also Claws mail so probable an OS issue but what setting are required for gajim✎ -
23
I have recently had to do a clean install of Debian with KDE and just noticed notifications are not working for Gajim and also Claws mail so probable an OS or GTK issue but what setting are required for gajim ✏
-
23
Using Gajim tray icon and a plugin for claws mail guess what the system notifications now work, why have one notification in the tray when you can have three !✎ -
kurion
Hello. I plan to run Gajim without installing it on the my linux box. Kind of in a portable way. So will need to adjust some path variables. I am comfortable with the hassle it will take.
-
kurion
Since GNOME is not showing `Gio.Notifications` correctly unless I install Gajim, I made a short notification util method using `Notify 0.7`
-
kurion
``` def one_shot_notification(summary: str, body: str | None = None, timeout: int = 1000): notification = Notify.Notification.new(summary, body) notification.set_timeout(timeout) notification.set_urgency(Notify.Urgency.NORMAL) notification.show() ```
-
kurion
So if I replace `app.app.send_notification(notification_id, notification)` in `/gajim/gtk/notification.py:352` with a call to the above method, could it cause unintended behavior down the road?
-
kurion
pardon the extra "the" in my first message.
-
23
Using Gajim tray icon and a plugin for claws mail guess what the system notifications now work, why have one notification in the tray when you can have three ! having said that the two app tray icons are much nicer so just deleted the system notification icon ✏
-
23
You can edit your last message using ctrl + arrow up
-
kurion
23: I'd like to. But XMPP spec only allows correction on the *last* message. And the extra "the" was several messages before my last message. :(
-
Lightning Bjornsson (they, he, xe/hir)
ah
-
lovetox
kurion, this should work
-
kurion
Great!! Thanks
-
fjklp
> for some reason I can't just drag them around either, thought I could before. I keep unpinning and repinning... really horrible bard_ dragging and relocating pinned chats works and persists across restarts for me. I'm using nightly. I'm guessing it's a problem on your end.
-
bot
Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *5270fa5f* < https://dev.gajim.org/gajim/gajim/-/commit/5270fa5f49681ac6af2fdfb8e1d8c811189ba283 > feat: Display gateway icon in avatars
-
bot
Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *518978b2* < https://dev.gajim.org/gajim/gajim/-/commit/518978b2f7e9acf8c974b6fcac58da8204480ea0 > new: Icons: Add telegram gateway icon
-
fjklp
the gateway icon # is a bit hard to see with a dark background
-
fjklp
I almost can't see what it it✎ -
fjklp
I almost can't see what it is ✏
-
lovetox
yes, need to invert the color
-
lovetox
or if someone knows some better icon for irc im happy to use that one
-
Kris
# is the most universally understood
-
fjklp
I'm not sure what conventions exist here but that is a rather small area to be showing an icon or symbol
-
lovetox
if you have a better idea im all ear
-
fjklp
I don't know if I do but increasing the proportion of the bridge icon is one option
-
fjklp
is 25% too large?
-
fjklp
but it will definitely be better with a white icon on dark background
-
lovetox
i already said the color needs to be inverted
-
lovetox
but you werent happy with the size
-
fjklp
yes, I saw that
-
fjklp
I'm not unhappy with it, it seems like the obvious and needed thing✎ -
fjklp
I'm not unhappy with inverting the color, it seems like the obvious and needed thing ✏
-
lovetox
25% looks like this
-
lovetox
https://share.hoerist.com/philipp/Ng4L9pMnzu2ty0Cs/03e44ac4-9334-4558-84dd-08c2d5e4fc71.png
-
lovetox
it is a bit better, though if its a single contact, the status circle is also displayed, not much left at that point from the avatar
-
lovetox
https://share.hoerist.com/philipp/kGDXKzy224IIE7rv/f9615f92-0878-4fcb-b45f-5da10bc59392.png
-
fjklp
yeah, I'm not sure
-
bot
Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *c2bbe7c2* < https://dev.gajim.org/gajim/gajim/-/commit/c2bbe7c287a398f3819773c01e7e7d569c991da2 > fix: AdHoc: Wrap notes label
-
hannibal
> it is a bit better, though if its a single contact, the status circle is also displayed, not much left at that point from the avatar Maybe move the gateway icon to the bottom left