Gajim - 2018-02-17


  1. lovetox nx_user: Gio.MenuItem
  2. lovetox but its not that trivial, Gio.MenuItem works only with Actions, so a totally different approach
  3. mimi89999 lovetox: Any news on that memory leak issue?
  4. lovetox no
  5. lovetox you can check the size of your Config
  6. lovetox we had a bug that made it huge
  7. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *7de985db* < https://dev.gajim.org/gajim/gajim-plugins/commit/7de985db84d79ca0bcb9cfb5c62a9d83a070fbe6 > [acronym] Add support for UTF-8 expansions
  8. bot Philipp Hörist merged a merge request for _gajim-plugins/master_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/64 >: [acronym] Add support for UTF-8 expansions
  9. mimi89999 lovetox: My issue was related with spell checking.
  10. mimi89999 (Disabling spell check fixed it...)
  11. nx_user lovetox, thx
  12. dicson Url image preview plugin works now only for HTTP Uploaded images?
  13. debacle On Debian stable I can close the Gajim window, but the icon remains and I can open it again. On Debian testing closing the Gajim windows terminates the program. Why?
  14. 404.city dicson, yes
  15. lovetox debacle, gajim never terminates on close
  16. lovetox you mean the icon goes away
  17. lovetox but that does not mean gajim is terminated
  18. lovetox its because of this setting hide_on_roster_x_button
  19. dicson 404.city, thx! I think plugin description must be rewrited
  20. lovetox make it false, then you get the icon
  21. Maranda Hmm the muc logs are incomplete for this room or it's just a wrong impression of mine?
  22. lovetox what is missing?
  23. Maranda lovetox, *shrugs* beside the large majority of messages? 😅
  24. lovetox you mean in your local gajim?
  25. Maranda No
  26. Maranda The room muc logs (http)
  27. SaltyBones But the room logs are generated by prosody
  28. debacle lovetox, under Debian testing with XFCE Gajim asks "Really quit Gajim?" when I close the window.
  29. SaltyBones On the server
  30. lovetox yeah what exactly is missing
  31. SaltyBones How could anything be missing
  32. Maranda From mod_muc_log{_http}
  33. lovetox tell me a message and time
  34. debacle lovetox, This does not happen on Debian stable. beta1 in both cases.
  35. lovetox debacle, there is another setting
  36. lovetox quit_on_roster_x
  37. Maranda lovetox I'm on mobile can't now, just go see yourself, Friday when I hopped there didnt look to match MAM
  38. lovetox ah there was some day where it was broken
  39. Maranda Ohh
  40. Maranda 🤣 okido
  41. debacle lovetox, the setting was "deactivated" (default) in my case. When I activate it, Gajim quits without asking :~(
  42. lovetox no debacle
  43. lovetox it doesnt quit, only the icon is gone
  44. lovetox you have to adjust hide_on_roster_x_button
  45. lovetox hide_on_roster_x_button = False quit_on_roster_x_button = False
  46. lovetox thats what you want
  47. lovetox it quits if there are no open chats
  48. lovetox if quit_on_roster_x_button = True
  49. lovetox it only warns if there are open chats
  50. stp https://gajim.org/downloads/1.0/gajim-portable-1.0.0-beta1-1.exe Is that version supposed to be working or any known showstoppers?
  51. debacle lovetox, please believe me! :~) If I close the Gajim window (one window mode) on Debian testing, Gajim quits. quit_on_roster_x_button only changes between having a last dialogue ("really quit?") or quitting right away. On Debian stable (also XFCE) the behaviour is as you say.
  52. debacle lovetox, open chats do not help. Gajim really quits, there is no Gajim process on my machine afterwards.
  53. lovetox ok yes i see there could be a problem
  54. lovetox did you disalbe the tray icon?
  55. debacle lovetox, how do I enable/disable it? I have the appindicator plugin...
  56. lovetox preferences
  57. lovetox notify by icon
  58. lovetox check the also the config setting "allow_hide_roster" it should be true if, notify by icon is disabled in preferneces
  59. lovetox and yes i realize there are an insane amount of config settings that work here
  60. debacle btw. when I change the single window mode to something else, I get a programming error.
  61. lovetox it has nothing to do with windows mode
  62. debacle OK, this is another bug then :~)
  63. lovetox yeah changing window mode depending on how many chats you have open is a complicated task
  64. debacle Without appindicator I do not get any icon in my tray on Debian testing. On Debian stable, I believe to have a tray icon without appindicator plugin installed (not sure, it's in my office).
  65. lovetox quit_on_roster_x_button = False allow_hide_roster = True
  66. lovetox try that
  67. debacle Yes! lovetox, this combination is it!
  68. lovetox so and now you could also decide if you want the icon in dock hidden or not with hide_on_roster_x_button
  69. debacle This setting seems not to have any effect, lovetox. I have a tray icon with appindicator plugin and none without. The hide_on_roster_x_button makes no difference, wether appindicator is active or not.
  70. lovetox yes
  71. lovetox but it makes a difference if there is an icon in your Dock
  72. debacle I like the behaviour on Debian stable better, because I can change my status with right(?) click on the tray icon. On Debian testing, I can only show/hide roster (well: single window, not only roster) or quit.
  73. lovetox depending on if your system has a Dock
  74. lovetox the appindicator plugin just doesnt have all the options because nobody cared to add them there
  75. debacle I think, that XFCE has a dock. Isn't this the little area with the icons?
  76. lovetox its where you see what applications are open
  77. lovetox windows has it, mac has it, ubuntu has it, gnome has it
  78. debacle yes, XFCE has it too. I wonder why I need the appindicator plugin, though.
  79. debacle On Debian stable it works without it.
  80. debacle And even better, because appindicator has less options.
  81. debacle Maybe something broken in XFCE...
  82. bot David von Oheimb created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8903 >: #8903: < Cannot load any plugins in Windows >
  83. dicson I use XFCE.Works fine for me. Debian testing
  84. debacle dicson: With or without appindicator plugin?
  85. dicson without
  86. debacle And you have the Gajim native tray icon then?
  87. dicson yes
  88. debacle Which allows to right click and change status?
  89. dicson yes
  90. debacle Good, so this is a config issue on my side!
  91. debacle Either Gajim or XFCE config.
  92. debacle Thanks lovetox and dicson!
  93. dicson Gajim out from the box
  94. dicson debacle, add systray aplet to xfce panel
  95. debacle Hm, which Debian package is it in?
  96. dicson debacle, http://i.imgur.com/LgVInue.png
  97. dicson I do not know. I think in xfce by default
  98. debacle I have this one already. When I double-click on the config it lists "known applications". And Gajim was not checked. I checked it now and will try again.
  99. debacle No, doesn't help.
  100. debacle I'll try later with a fresh test account. My own one is probably messed on both Gajim and XFCE side.
  101. debacle Now I need to do some shopping, many thanks, lovetox and dicson!
  102. lovetox debacle as i said in preferences is a setting
  103. lovetox notify by icon
  104. lovetox it has to be checked, otherwise you will see not standard gajim status icon
  105. lovetox the plugin is of course always there as long as you dont deactivate it
  106. lovetox and you have to only use the plugin if your desktop does not allow for status icons from other apis
  107. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *4149bcac* < https://dev.gajim.org/gajim/gajim/commit/4149bcacb962a04b7aca125b84c0a48753a69607 > add index on stanza_id column to speed up de-duplication when syncing logs
  108. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *89cec79d* < https://dev.gajim.org/gajim/gajim/commit/89cec79dba02236f5f6b30009a2aff626d998837 > update translations
  109. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/gajim_1.0_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *83a0d362* < https://dev.gajim.org/gajim/gajim/commit/83a0d36281276c363679af458317a4611487760b > update translations
  110. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *be028288* < https://dev.gajim.org/gajim/gajim/commit/be028288612aa72cb049e33bff69f67cbf0ea622 > update Gajim version to 0.99.2
  111. bot Philipp Hörist pushed 7 commits to branch _refs/heads/gajim_1.0_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/0d6169c2-bc9e-439d-803e-f4e267461b31
  112. bot Philipp Hörist pushed 1 commit to branch _refs/heads/gajim_1.0_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *44521fcb* < https://dev.gajim.org/gajim/gajim/commit/44521fcbaa8759f5a540a687d465272195449796 > Update ChangeLog
  113. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *d38e8532* < https://dev.gajim.org/gajim/gajim/commit/d38e8532e7b9b2216414e46507d19c74732be0de > Update ChangeLog
  114. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _website_ < https://dev.gajim.org/gajim/website >: *71632cb6* < https://dev.gajim.org/gajim/website/commit/71632cb6bf48fea667550e5b41fb11b0c7f7a4e4 > update website for beta2 release
  115. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _website_ < https://dev.gajim.org/gajim/website >: *90b1a5c6* < https://dev.gajim.org/gajim/website/commit/90b1a5c60252feaa603873b46aee25538a4015b2 > update translations
  116. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8899 >: #8899: < gajim crashes when moving a window by dragging >
  117. Asterix Beta2 is available. don't esitate to try it
  118. Asterix Beta2 is available. don't hesitate to try it
  119. nico Wuhu 😊 super nice
  120. nico Am I the only one not able to download the new beta from the website?
  121. Asterix ha?
  122. Asterix window?
  123. Asterix if yes, then it's norma;
  124. Asterix build in progress
  125. Asterix done ... I put it in the correct place
  126. nico Ahhh OK then me so sorry 😂
  127. Asterix done
  128. dicson Asterix‎, I fixed clickable nicknames plugin https://dev.gajim.org/gajim/gajim-plugins/issues/253
  129. Asterix nice thanks
  130. Asterix I commit that
  131. dicson thx
  132. Asterix - self.textview.on_textview_motion_notify_event(widget, event) + #self.textview.on_textview_motion_notify_event(widget, event)
  133. Asterix if it's really useless, then I remove the line
  134. dicson It is unused if you have another plugin
  135. Asterix hm?
  136. dicson There are also plugins using on_textview_motion_notify_event?
  137. dicson I do not know why self.textview and self.textview.tv do not have on_textview_motion_notify_event func...
  138. dicson + #self.textview.on_textview_motion_notify_event(widget, event) usable if only you do not have another plugins intercepting on_textview_motion_notify_event
  139. Asterix hmm I'm not enough familiar with this plugin's code, I don't know what that do.
  140. dicson ок.I can not explain. Let's not touch this yet.
  141. dicson I'll try to find a replacement for this string
  142. Asterix currently there is indeed another tb: File "/home/asterix/.local/share/gajim/plugins/clickable_nicknames/clickable_nicknames.py", line 105, in on_textview_motion_notify_event self.textview.on_textview_motion_notify_event(widget, event) AttributeError: 'ConversationTextview' object has no attribute 'on_textview_motion_notify_event'
  143. Asterix lovetox: maybe you know what happens? You removed this function and it's no more used in Gajim?
  144. dicson I'll try to find a replacement for this string(+ #self.textview.on....)
  145. lovetox it was used to display the tooltip
  146. lovetox we didnt need it anymore
  147. lovetox the plugin can connect the handler itself
  148. Asterix ok so we can indeed remove it from the plugin
  149. lovetox it does not need to use the one gajim connected
  150. Asterix dicson: hmm clicking on a nickname while nothing it in the textview doesn't remove the placeholder "Write a message.."
  151. dicson hmmm
  152. Asterix dicson: there is a PLACEHOLDER variable in message_textview.py
  153. Asterix and we should do something like: if text == PLACEHOLDER: clean textview add nickname at sursor
  154. Asterix dicson: just clicksomewhere out of the textview to show the placeholder
  155. Asterix then click on a nickname
  156. dicson PLACEHOLDER a bad thing(i think). I already sent it to you at PM
  157. dicson OK. I need to think
  158. Asterix BTW while you're here, I want to say publicly that I'm happy you're back in the room.
  159. Asterix dicson: is the second main contributor to Gajim (not for too long though, lovetox is arriving very fast)
  160. Asterix he was in Gajim during 4 years
  161. dicson PLACEHOLDER a bad thing(i think). I already sent it to you at PM ([21:18:53] dicson: Write a message..mailto:http://www.lagaule.org in you vcard )
  162. Asterix who did you triggered that?
  163. SouL Very nice to hear that, Asterix :)
  164. Asterix How did you triggered that?
  165. dicson ctrl + V + enter
  166. Asterix I can't repro
  167. Asterix when I do ctrl+V, placeholder is correctly removed
  168. dicson hmm
  169. dicson I do not exactly remember how it happened.
  170. dicson "PLACEHOLDER" fixed
  171. Asterix lovetox: we should write a mini howto create a MR for the beginers, don't you think?
  172. Asterix dicson: yeah sounds good
  173. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *30b75505* < https://dev.gajim.org/gajim/gajim-plugins/commit/30b75505935e312fd2fb85e4aabe69de51b81f8b > [Clickable nicknames] Fix
  174. dicson wtf MR?
  175. lovetox a merge request
  176. lovetox there is not much we can write in a howto
  177. lovetox except fork, commit your changes, and click the MR button
  178. lovetox btw Asterix dicson, MessageTextview has various methods to work with the placeholder
  179. lovetox has_text(), get_text(), is_placeholder()
  180. dicson I did not see MR button, fork button
  181. lovetox https://dev.gajim.org/gajim/gajim
  182. lovetox is right there at the top
  183. dicson I found MR. but not see fork button
  184. lovetox https://share.hoerist.com/philipp/v9YCtBl1cUCp7GUc/Unbenannt.PNG
  185. lovetox maybe refresh i had to adjust your permission
  186. dicson Asterix, I am sorry, no https://dev.gajim.org/gajim/gajim-plugins/issues/253
  187. dicson lovetox‎, thx
  188. dicson ohhhh.I can't make mr
  189. bot Dicson proposed a new merge request for _gajim-plugins/master_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/65 >: Replace clickable_nicknames.py
  190. dicson wow
  191. lovetox dicson, your code could be much smaller if you just use message_textview.has_text()
  192. lovetox instead of getting the buffer and trying to determine it yourself if placeholder is set or not
  193. dicson ok
  194. lovetox has_text does exactly what your code now does
  195. lovetox gives true only if text is not placeholder and not ''
  196. lovetox could you also please add to every commit message you do against the plugin repo in front the plugin name
  197. dicson jr
  198. lovetox [nicknames] for example
  199. dicson ok
  200. lovetox and i know its a tedious task, but please come up with a better commit message than, "Replace clickable_nicknames.py"
  201. dicson message set automatical i think. I just upload file.but maybe i am wrong
  202. lovetox ah k
  203. lovetox what IDE do you use?
  204. dicson I do not use git
  205. lovetox then what do you use?
  206. dicson gnome text editor ))
  207. dicson gedit
  208. lovetox ok but git must be present or else there could be no upload or not?
  209. Maranda git isn't an IDE :O
  210. dicson Yes, if I do anything else besides what I've already done
  211. lovetox i would recommend to get a decent code editor, with a git plugin for example
  212. lovetox makes your life much easier
  213. Maranda eclipse?
  214. dicson lovetox‎, This is true if there is a desire to write a lot
  215. dicson Maranda‎, geany
  216. lovetox i feel you have that desire dicson :)
  217. lovetox gajim is calling you
  218. Maranda doesn't know, uses Visual Studio for about anything lately :O
  219. dicson lovetox‎, I'm not sure, will be seen later ;)
  220. lovetox hm Maranda last time i installed it i saw also that you can write python now with it
  221. lovetox but to be honest these real IDEs are kind of overkill, for python you need just a linting plugin and git integration thats about it
  222. Maranda lovetox I could really just use textpad or notepad :P
  223. dicson Maranda‎, +. only hardcore!
  224. Maranda lovetox, the alternative is VS is too cumbersome (which usually it is, installing just the web workload is like 7GBs or so) https://code.visualstudio.com/
  225. Maranda lovetox, the alternative if VS is too cumbersome (which usually it is, installing just the web workload is like 7GBs or so) https://code.visualstudio.com/
  226. Maranda lovetox, and has builtin git
  227. lovetox i currently use sublime
  228. Maranda I write VB.NET/WCF things often so I find VS more suitable.
  229. lovetox of coruse
  230. lovetox of course
  231. dicson I use https://www.geany.org/ 4 yars ago.
  232. Maranda on *nix I just go with nano or gedit tbh :P
  233. dicson ))
  234. Maranda lovetox, also has lua syntax btw apparently (VS)
  235. Maranda XD
  236. Maranda take away that apparently
  237. Maranda ok time to hit the sack
  238. Maranda o/