botRSS: Feeds for Gajim
• Changeset [16210:2f47c7e8a9c0]: Create GCTooltip window only when parent is available
Create GCTooltip window only when parent is available
https://trac.gajim.org/changeset/2f47c7e8a9c07ec9c94371d5fee8ca257b1a0201
SaltyBonesfyi: the "remember my decision" thing on the MitM warning does not work
SaltyBonesnew gajim installed
SaltyBonesa bleeding edge hg build!
SaltyBonesCan somebody recommend a python ide like thingy that works well for gajim? What do YOU use?
johannesI guess IntelliJ Ultimate or maybe also Community can be recommended
SaltyBonesit's friday...i'll even try intellij :p
Link MauveSaltyBones, I personally use vim, without anything special targetting Python.
Link MauveAnd generally helpers like cython, pyflakes, pylint, etc.
SaltyBonesLink Mauve, got somethingtags working?
SaltyBonesBecause I also use bare vim right now and I am so sick of grepping and opening files and blablabla...
Link Mauvectags?
Link MauveI don’t mind grep, sorry.
SaltyBonesYeah, I mean there are a couple of flavors and you need a good tag generator, etc....
Link MauveTry jedi.
SaltyBonesalrighty
cippaciongvaguely related https://www.youtube.com/watch?v=XA2WjJbmmoM
sofahi
sofaI just wanted to report back two issues I have with gajim quite regularly:
sofa1. sometimes gajim asks me to upgrade the OMEMO plugin. usually I agree and I click "Install/upgrade" in the update/upgrade dialog and then forget about it. hours or days later, I restart the client -> OMEMO is magically disabled and I'm trying to chat with people with unencrypted messages
sofathis seems like an oversight since why would a user not want to use the plugin anymore after explicitly agreeing to upgrade it? since especially for encryption it can mean accidentally sending things unencrypted, it'd be nice if it was fixed/addressed
sofa2. 50% of the time when I suspend my laptop for a longer amount of time and wake it up again, gajim will be completely frozen and I need to kill it and restart it
sofaoh and there's also another small UX problem: 3. if gajim shows me as offline and I'm clicking the status box and choosing "Available", I get absolutely no feedback that it is doing something and also no feedback when it failed (except that after a while, still nothing happens) and when I would need to try again
SaltyBoneshm...so the 0.16 branch in hg doesn't have the patch for the new syntax of octal modes...is that something that should be fixed in that branch or not?
SaltyBoness/octal modes/octal numbers/
Link MauveSaltyBones, isn’t that only for 3.x?
SaltyBonesyou mean does it work in 2.something?
SaltyBonesthen yes, it does
SaltyBonesbut the old 0770 doesn't work in 3
SaltyBonesor are you saying I should running gajim with python 2?
SaltyBones...be..
Link MauveSaltyBones, the gajim_0.16 branch is exclusively for python2, the default branch exclusively for python3.
Link MauveThere is no dual-language support in either, that’d be way too much work.
SaltyBonesah ok
SaltyBonesfixes his launcher skript.
lovetoxsofa these are known issues
lovetoxon every upgrade from a plugin you have to reactivate
lovetoxis your laptop a windows laptop?
SaltyBonesso I was trying to be a total boy scout and add some translations
SaltyBonesbut gajim isn't picking up on them...could it be using the translation files from a local install?
SaltyBones(I have package management install + hg)
Link MauveSaltyBones, you have to install them for them to be effective, yes.
Link MauveI don’t remember why it was done so, but I don’t have the time right now to find the instructions on how to use the repository ones.
Link MauveLook into how gettext handles that.
SaltyBoneshm...maybe there is a configure option or something to set a path
SaltyBonesLink Mauve, thx
Link MauveI don’t think so, but you can probably tell gettext at runtime where to find the mo files.
Link MauveBtw, have you correctly compiled the po files into mo?
SaltyBonesuhm..dunno..I used make :)
SaltyBonesi verified that my change were picked up in po/.intltool-merge-cache
SaltyBonesbleagh
lovetoxwhich branch are you using now?
SaltyBones0.16 right now
SaltyBoneshttps://www.gnu.org/software/libc/manual/html_node/Using-gettextized-software.html#Using-gettextized-software this has something on the matter
SaltyBonesbut doesn't look like I can customize it to do what I want
lovetoxi think there is a wiki on gajim.org
lovetoxhttps://trac.gajim.org/wiki/DevTranslate
lovetoxOr if you want to update an existing file:
edit po/XX.po file (we recommend with a simple editor) and update the translation
send us the new file so we update it into Gajim on the mailing list: translators@gajim.org
lovetoxshould be pretty easy
lovetox..
Link MauveSo change the call to bindgettextdomain in Gajim.
Link MauveSo change the call to bindtextdomain in Gajim.
Link MauveIt seems it’s already done in the “if os.name == 'nt':” in gajim.py, just do it in the other one too.
Link MauveActually you could even just remove that condition, SaltyBones.
lovetoxis there a way to make translations for python like with transifex?
Link Mauvelovetox, Transifex is just a web UI for gettext.
lovetoxem, yeah but other programs can have the translation strings in xml
lovetoxand dont have to compile anything
lovetoxi think
lovetoxalso changes can easily be tracked
SaltyBonesLink Mauve, I though about it but I assumed nt was windows which I do not have and I didn't find any other calls to it...
Link Mauvelovetox, in which way is gettext’s po file an issue?
lovetoxyou tell me, why SaltyBones, cant just open the file in the editor and translate the strings?
SaltyBonesactually I can, that part is fine...the problem is getting gajim to use the files
SaltyBoneswhich is at least somewhat orthogonal
lovetoxyou mean gajim doesnt use the file?, so what if you delete the file, is the translation still there?
lovetoxnot everything is translated through that file
lovetoxfor example buttons etc
lovetoxthis is GTK translated, gajim doesnt do that
lovetoxfor most standard buttons
SaltyBonesI suppose I could delete the file from the pkg manager...
SaltyBonestries.
lovetoxoem .. just go to the directory and rename the folder
lovetoxwhy would you mess with the package manager
SaltyBonesbecause the self-built gajim uses the translation file from /usr/share/bla...?
SaltyBonesand I can just replace the file there to make it do what I want...pretty hacky of course
lovetoxahh i get the problem now, hg uses another dir
SaltyBonesI don't know I don't even install the hg version I run it from the build dir using the launcher script.
SaltyBonesbut yeah it would probably be in /usr/local/share/locale/....
lovetoxthere is nothing to install
lovetoxyou just run the python programm
Link MauveSaltyBones, nt is indeed Windows, just remove that check and it should pick your newer mo files.
SaltyBonesLink Mauve, you mean remove the check and change the DIR?
Link MauveRemove the if, DIR should be fine I think.
SaltyBoneslovetox, but it comes with a make install
lovetoxhm i dont actually know what that does :D
lovetoxprobably exactly the thing we looking for
lovetoxcreating and moving the po files in the correct dir
SaltyBonesI think it will do everything including creating a gajim executable in PATH....
SaltyBoneswhich is why I'm not using it because I want that to be stable version
lovetoxso
lovetoxjust edit the po file
lovetoxcompile it
lovetoxand move it to where the file is in the stable version
lovetoxthen start the stable version :)
SaltyBonesyeah, that works but now I am overwriting the translation files for the stable version...and I don't care so it's fine but it's not pretty ;)
lovetoxits only translation ..
lovetox:)
SaltyBonesI don't even have to starte the stable version, the hg version uses the same files. Which is actually important because the stable version doesn't have all the strings. ;)
SaltyBonesLink Mauve, I tried, it doesn't start. "unsupported locale setting"
Link MauveSaltyBones, remove the os.environ stuff.
SaltyBonesare you guessing? :)
SaltyBonesbecause it also wants to use intl.dll which...I'm not surprised it cannot find ^^
lovetoxi dont get what you want to achive? i thought you wanted to edit translation files and use them
SaltyBonesnothing important, just a cleaner solution to the same problem
lovetoxyou want to use 2 versions of gajim with different translation directorys?
SaltyBonesyes
lovetoxthen just change the path to the translation files in the hg version
SaltyBoneseasier said than done
SaltyBonesI welcome all suggestions :)
Link MauveSaltyBones, wut, you are only removing line 85, right?
Link MauveThe intl lines are commented out here.
Link MauveAre you sure you are on the default branch?
lovetoxno he is on 0.16
SaltyBonesLink Mauve, no, right now I'm on 016
lovetoxhe said that before
Link MauveAh, sorry, I’m still working on work…
SaltyBonesnp, sorry
SaltyBonesI'll get to default in time. x)
Link MauveI hope there won’t be any more release of 0.16 and default will be released soon.
lovetoxwhere the fuck is the path to the mo dir
lovetoxit has to be hardcoded somewhere
Link MauveI started looking at the Gstreamer issue last weekend, but didn’t get to anything.
lovetoxfor what is that for the video thing?
Link MauveAudio and video.
SaltyBoneslovetox, it's a system wide thing that depends on your locale and involve this whole gettext mess ;)
lovetoxthat has to go, nobody has time to maintain that, and other application make that way better
SaltyBoneslovetox, you think video support in general should go or gstreamer?
lovetoxvideo/audio support in general
Link Mauvelovetox, wat, why would you remove features which work?
lovetoxit does not work
Link MauveIt sure does.
lovetoxnot even in 0.16
lovetoxnot for me
Link MauveAnd some colleagues are working on WebRTC support atm.
lovetoxfor gajim?
Link MauveIt works for me.
Link MauveFor farstream.
lovetoxand what does that bring gajim?
lovetoxare you implementing that?
lovetoxi bet there are even greater technologies that are invtented
Link MauveThat brings interoperability with web clients without needing anything server-side.
Link Mauve(Like Jitsi Meet’s server part.)
Link Mauve(What is it called again, video bridge?)
lovetoxi know, but not for gajim if nobody implements it
Link MauveRight.
lovetoxso if your opinion that every feature has to work, until default can be released
lovetoxi think the day will never come :)
lovetoxjitsi lacks vital xeps
Link MauveWhat else is not working? So far I count Avahi support and Jingle video support.
Link MauveJingle audio already works on default.
lovetoxthats how demanding it is to keep that audio/video thing going
lovetoxthey dont have time for something else
lovetoxWe need a whole new notifications system
Link MauveErr, no, their audio/video part is working fine, since even before they started moving to XMPP.
lovetoxStatus icons do not work on most system
Link MauveAh right, I don’t have a system bar so I never noticed that. ^^
lovetoxthen sometime someone should look at jingle file transfer, i guess there are things to improve
lovetoxstandby/wakeup, gajim has problems with that
lovetoxplugins like httpupload, imageprieviewer still lack features, and should maybe implemented in gajim directly
lovetoxat least httpupload i dont see a reason to keep that as a plugin
Link MauveIt’s still a hack, tbh.
Link MauveJingle file transfer is much more useful.
lovetoxthe chatcontrol needs to be reworked (i dont already most of that), so we can show on each message if it was encrypted or not
lovetoxto make it possible to inject messages in the correct positions
lovetoxwhen we query mam when the window is open
lovetoxto show history in the chatwindow when scrolled to top
lovetoxall that are things have for me more gain and priority, then making a new skype client
Link MauveYou mean Skype support?
Link MauveThat should stay in transports imo.
SaltyBonesno he meant making an alternative
lovetoxno i mean a audio/video feature
Link MauveIt was something people seemed to absolutely want before 0.14.
SaltyBonesnow the bloody msgmerge -U doesn't work either because this poedit thing somehow inserts empty messages if they get to long
SaltyBonesdafuq
Link MauveThey would all jump to XMPP the day it would work.
SaltyBonesI certainly would love a way to ditch skype. Doesn't even have to be xmpp. :p
lovetoxi just want to be in something excellent, and not focus on 20 things at the same time
Link MauveI haven’t installed it even once in my life, I have no contact who’s using it.
Link Mauvelovetox, I think fixing usability issues on default like you’ve done recently is a very good first step for that.
lovetoxyeah and i dont want to remove audio/video code, but i dont want to hold us back when at the current time no one has time to maintain it
SaltyBoneslovetox, it might be a good idea to add a big "experimental feature" warning.
Link Mauvelovetox, that’s why I started looking into how to support it properly, also on Wayland.
Link MauveSaltyBones, audio/video support has been around since 0.14, you can hardly say it’s experimental.
SaltyBonesLink Mauve, well I haven't done any testing or heard anything I just concluded from the sample that you two just provided that it doesn't work reliably ;)
Link MauveSo far it’s always been working reliably for me, not sure why.
lovetoxi probably does, i never bothered to really get it working
lovetoxalso i have no webcam
lovetox:/
Link MauveYou should still be able to use audio-only, or the fake video source.
SaltyBonesLink Mauve, does it work on windows? >:)
Link MauveAFAIK audio-only.
SaltyBonesright, so I can't figure out how to use msgmerge...
SaltyBonesbloody hell I didn't expect translating to be this hard x)
SaltyBonesI think I may have misunderstood what this does. :p
Link MauveSaltyBones, make should be enough.
Link MauveI don’t think you should do anything else.
SaltyBoneswell if you edit the actual po files
SaltyBonesbut the translation site has something about creating copies and using msgmerge -U
SaltyBoneswhich I misunderstood as a process to merge my changes into the other files
SaltyBonesand I'm not sure what it is doing but that's not it :p