Gajim - 2019-06-12


  1. bot andy created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9731 >: #9731: < Error when resume from sleep >
  2. bot Daniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/447 >: Add avatar generator
  3. wurstsalat lovetox, I adapted the avatar_generator to upstream changes. in some cases, text color and background do not have sufficient contrast
  4. wurstsalat and if I'm not wrong, Gdk.Color is deprecated
  5. wurstsalat but the difference between light and dark background is not bad :)
  6. bodqhrohro I have Gajim broken for several years, from the time I updated it to some early alpha of 1.x version. And after a lot of further updates, it still can't connect to anything, even to newly added accounts, showing an authentication error. Can I fix it without dropping the profile from 0.x?
  7. bodqhrohro There are also warnings like `06/12/19 14:50:43 (W) gajim.c.resolver Could not resolve host: No DNS record of the requested type for “_xmppconnect.jabberon.net”`, not for all the servers though.
  8. bot Thiago Linhares created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9732 >: #9732: < When connecting to one of my openfire servers >
  9. bot Daniel Brötzmann closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9732 >: #9732: < When connecting to one of my openfire servers >
  10. yutop Bodqh, proxy is broken as well, try pidgin.im
  11. bodqhrohro yutop: what proxy?
  12. yutop Bodqhrohro, 127.0.0.1
  13. bodqhrohro yutop: I don't have any http://0x0.st/zud7.png
  14. yutop Try pidgin
  15. bodqhrohro I'm already writing from it.
  16. bodqhrohro Pidgin is not a good client for any of myriads of protocols it supports.
  17. yutop 👌
  18. bodqhrohro And I neglected it until the mess of messengers finally became so terrible that having Pidgin with a lot of plugins and about 10 accounts for different protocols became more rational than running a ton of voracious official clients.
  19. bodqhrohro But I'm still willing to see why folks think of XMPP as of modern enough protocols. Gajim seems to be the only desktop client that supports MAM for now.
  20. bodqhrohro *protocol
  21. lovetox no there are others
  22. lovetox if you start gajim with -v and send me the log
  23. lovetox i can take a look why it doesnt start
  24. lovetox i can take a look why it doesnt connect
  25. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *5fdb76d0* < https://dev.gajim.org/gajim/gajim/commit/5fdb76d02a12aa1a475143a8f06e848facd83c4f > ConsistentColors: Fix background argument
  26. lovetox wurstsalat, wonder why you moved the text_to_color out of the generate_avatar method?
  27. wurstsalat Couldn't get it while using self (I'm not good at this)
  28. lovetox it is maybe better that way, as maybe we want to generate someday a specific color avatar
  29. lovetox hm but no this means text_to_color call is not cached in the lur
  30. lovetox hm but no this means text_to_color call is not cached in the lru
  31. lovetox ah no it is in nbxmpp this method has a cache aswell
  32. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/447 >: Add avatar generator
  33. wurstsalat Okay! :) have you thought about adding color corrections for vision impaired users? Wouldn't be too much effort from reading the xep.
  34. lovetox no feel free to add this to nbxmpp
  35. lovetox a unit test against the test vectors in the xep would also be nice
  36. wurstsalat I'm not sure how to address the contrast issue with light colors and white letters
  37. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/447 >: Add avatar generator
  38. lovetox wurstsalat, feel free to test again i fixed one bug and reverted to one letter
  39. lovetox with circle mode, letters are not perfectly in the middle in my opinion
  40. wurstsalat I will as soon as I'm back home!
  41. bodqhrohro lovetox: http://paste.debian.net/1087617/
  42. lovetox your password is wrong
  43. lovetox maybe it got lost on transition to a keyring
  44. lovetox type it in again in the account window
  45. ralphm Looking at this: https://ftp.gajim.org/debian/dists/unstable/main/binary-amd64/, what is the difference between gajim-default-nightly, and gajim-nightly. I was using the latter, but it is no longer changing?
  46. lovetox gajim-nightly is the nightly of the stable branch
  47. lovetox 1.1.x
  48. lovetox so it will not update often
  49. lovetox default-nightly is current development nightly
  50. ralphm Ah!
  51. lovetox to get this working you need also nbxmpp-nightly
  52. ralphm That makes a lot of sense. Maybe good to note this here: https://gajim.org/downloads.php?lang=en#ubuntu
  53. ralphm (and the debian one, too, I guess)
  54. bodqhrohro lovetox: it doesn't help, just as before.
  55. ralphm As for nbxmpp, it seems the dependencies are set up properly, so I wasn't worrying about that.
  56. lovetox bodqhrohro, can you try on another client to log into the account?
  57. lovetox ralphm, yeah not sure if we also supply nbxmpp-nightly on our server
  58. bodqhrohro lovetox: I'm connected to these accounts from Pidgin every day.
  59. lovetox and also nbxmpp-nightly is incompatible to the stable branch
  60. lovetox so mind that if you downgrade later
  61. lovetox bodqhrohro, yeah though i guess you dont put in your password everyday
  62. ralphm lovetox: it is on the same page I linked?
  63. lovetox so please try with a webclient like inverse.chat
  64. lovetox to log into the account
  65. lovetox so rule out you forgetting the password
  66. ralphm lovetox: the python3-nbxmpp-nightly package has a nice Conflicts marker, so it should work out just fine.
  67. lovetox good :)
  68. wurstsalat I'll draft a MR for the website's package instructions to clarify this.
  69. bodqhrohro Okay, it finally connected. Probably tabulating from the field + reenabling password saving + reenabling the account + activating the 'available' status did the trick. Explicit OK button would be much more explicit for such things. Thanks, lovetox.
  70. ralphm wurstsalat: cheers
  71. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *de982e96* < https://dev.gajim.org/gajim/gajim/commit/de982e963b80f23c28c1988ec86bc943aeb7c337 > Add avatar generator
  72. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8354 >: #8354: < Roster items without avatar are different size than those with avatar >
  73. bot Philipp Hörist merged a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/447 >: Add avatar generator
  74. bodqhrohro Now, how do I join a room that has a captcha protection and returns 401 with a link on a join attempt? I recall that Gajim 0.x had an UI for that (or probably that was a plugin), but now the chat tab is just not opened.
  75. lovetox hm last time i tested it showed a dialog
  76. lovetox can you share the room so i can try?
  77. bodqhrohro lovetox: after I fetched the URL via XML console, filled the captcha and reopened the room, it showed up, with the captcha UI. But when I tried to fill it in Gajim, it crashed. Should I run it under GDB to get the reason, or it's useless for Python apps?
  78. lovetox on 1.1.3?
  79. bodqhrohro 1.1.2
  80. bodqhrohro And I couldn't reproduce it again :(
  81. lovetox wurstsalat, did you see a deprecation message in the console?
  82. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *b86c5afa* < https://dev.gajim.org/gajim/gajim/commit/b86c5afa1a8ab503781541075f2e71b6fea1b93d > Unpack colors correctly *239b34f4* < https://dev.gajim.org/gajim/gajim/commit/239b34f4f41a312dcb24377bf34b7f2d0e086501 > Dont use deprecated Gdk.Color
  83. wurstsalat No, but I stumbled upon this while developong the avatar generator
  84. bodqhrohro Nah, I can reproduce it occassionally, but I still have no idea how to catch the backtrace :( /usr/bin/gajim is a script, so I can't run it under GDB.
  85. lovetox there should be a launch.py in the install dir
  86. bodqhrohro lovetox: tarball installation?
  87. lovetox yes whereever this installs the files to
  88. lovetox the script probably just calls launch.py
  89. bodqhrohro I have a distribution package.
  90. lovetox yeah dont know where your system install gajim to
  91. lovetox but it certainly has launch.py in its folder
  92. bodqhrohro lovetox: http://paste.debian.net/1087629/
  93. lovetox ok no clue how the script start gajim then
  94. lovetox mean you can write your launch.py yourself
  95. lovetox #!/usr/bin/env python3 from gajim import gajim gajim.main()
  96. lovetox thats the whole content
  97. lovetox also crash is most likely in GTK
  98. lovetox so you would need a GTK package with debug symbols
  99. bodqhrohro lovetox: http://paste.debian.net/1087633/
  100. bodqhrohro This seems to happen when I confirm the captcha with Enter, not with the OK button.
  101. lovetox are you using russian keyboard layout?
  102. bodqhrohro Yes, but I is not selected when I type non-cyrillic symbols.
  103. lovetox yeah still some bug with that layout switcher thingy, dont know, you can try to report it to the gnome GTK tracker if you want
  104. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *e1bef611* < https://dev.gajim.org/gajim/gajim/commit/e1bef6111caa5132adc60bc4c5c06d36b1d1d2ec > MUC: Rework captcha prompt
  105. wurstsalat wow, nice to see matching colors across clients, lovetox! :)
  106. lovetox yeah do they match?
  107. lovetox did you test with conversations?
  108. wurstsalat yup! :)
  109. lovetox great
  110. lovetox hm now we have to integrate the status into the avatar
  111. wurstsalat for Start Chat?
  112. lovetox no in general
  113. wurstsalat to get rid of the additional icon?
  114. lovetox yes
  115. lovetox i would do it skype style
  116. wurstsalat do you have an example?
  117. wurstsalat ah the one you sent me last time?
  118. lovetox yeah
  119. lovetox it should be not hard, we need another white circle in the bottom right corner
  120. lovetox circle should have a width of 18 px
  121. lovetox and inside that we place a 16 px icon
  122. lovetox but thats maybe to big
  123. lovetox so maybe we have to go down with that and just not have icons
  124. lovetox instead just draw a colored circle
  125. wurstsalat yeah I'm all for simple shapes (especially if it gets so tiny)
  126. lovetox do you want to try that or should i look into it?
  127. wurstsalat atm I'm at the groupchat banner (room infos), and then I want to fix roster file drop :)
  128. lovetox kk
  129. wurstsalat but yes, adding status to the icon is a good idea I think. apart from that, the thing we discussed with the Start Chat window and account colors is also nice to have (would make that window prettier when having more than one account enabled)
  130. wurstsalat maybe that one could be a simple colored bar to the left of each list box row
  131. lovetox i tried that, we need it also in the messagewindow branch
  132. lovetox where you also want to show the account in the tabs
  133. wurstsalat yes, I remember
  134. lovetox i used system-users-symbolic colored icon for that
  135. lovetox about MUC infos, i think it would be nice if we displayed all MUC infos available
  136. lovetox in the disco infos
  137. lovetox like has it mam, is it anonymous ect
  138. lovetox maybe this could go into the subject popover
  139. wurstsalat yes, these two I didn't have in mind yet! but I was thinking about the subject popover with a properly formatted view of what the group chat has to offer
  140. wurstsalat including title, description, language
  141. lovetox yes, just keep in mind the subject can get very long, so this is inside a scrolled window
  142. lovetox or maybe this deservs a own info button
  143. wurstsalat yeah, lets see how this plays out for different mucs (but I'm not there yet)
  144. wurstsalat that I would consider if the popover gets cluttered (which it probably will)
  145. lovetox Gajim muc is pretty much worst case
  146. lovetox for subject, ours is pretty long
  147. lovetox never seen so much in other mucs
  148. wurstsalat a lot could go in the room's description (admin-wise)
  149. wurstsalat for this room here I mean
  150. lovetox what do you meen with admin-wise
  151. lovetox you mean we should move the text to the description fgield
  152. lovetox instead of the subject
  153. wurstsalat I mean asterix could move that
  154. wurstsalat exactly
  155. lovetox yeah but we dont show description yet
  156. wurstsalat right, I will see how it looks :)
  157. lovetox but yes we should clear up whats the difference between subject and description
  158. lovetox its not evident to me
  159. lovetox although i feel our subject is a description
  160. wurstsalat has it something to do with threads?
  161. lovetox because it never changes
  162. lovetox hm i dont know what the xmpp elders imagined for subject
  163. lovetox but indeed every xmpp message can have a subject
  164. lovetox which is because of the thread usecase i think
  165. wurstsalat ha!
  166. lovetox but we dont deal in threads in Gajim
  167. lovetox so .. we dont have to support everything :)
  168. lovetox but yeah maybe subject is useless in muc
  169. lovetox i will ask other opinions
  170. wurstsalat yes, I'm curious
  171. lovetox Ok, description is what almost never changes
  172. lovetox so "This is Gajim support MUC"
  173. lovetox subject is what currently the topic of discussion
  174. lovetox so "Gajim 1.1.3 released ! Go get it !"
  175. bot Daniel Brötzmann proposed a new merge request for _website/master_ < https://dev.gajim.org/gajim/website/merge_requests/11 >: Downloads: Clarify nighly versions
  176. wurstsalat that sounds reasonable
  177. bot Daniel Brötzmann updated a merge request for _website/master_ < https://dev.gajim.org/gajim/website/merge_requests/11 >: Downloads: Clarify nighly versions
  178. bot Daniel Brötzmann updated a merge request for _website/master_ < https://dev.gajim.org/gajim/website/merge_requests/11 >: Downloads: Clarify nightly versions
  179. lovetox Daniel if you play with roomtitle
  180. lovetox bookmarks name > roomname from disco info > jid
  181. wurstsalat yes, I have that in mind :)
  182. lovetox https://share.hoerist.com/philipp/myE5v0RUUoZul8EL/Unbenannt.PNG
  183. erik lovetox, nice!
  184. erik now we need a listbox to show those next to the messages :-)