Gajim - 2024-06-23


  1. fjklp

    cal0pteryx: Just curious, what made you confident that #11094 is resolved?

  2. fjklp

    that is "clicking on message search results behavior is inconsistent "

  3. lovetox

    its better now

  4. lovetox

    but there are still cases that are not fixed

  5. lovetox

    i think we show corrections in the search, but you cannot scroll to them, just nothing happens

  6. lovetox

    but if the message exists, it scrolls them consistently to the middle of the screen and highlights for me

  7. fjklp

    > but if the message exists, it scrolls them consistently to the middle of the screen and highlights for me well, it seemed to be edge cases that failed before so it might not be obvious that it will fail

  8. fjklp

    maybe not quite edge cases, but not very consistent. I remember that image previews were a factor.

  9. mutt

    Does anyone know what is the name of the CSS class for styling reply blocks? Not sure how they're called exactly, I'm talking about this new feature introduced in v1.9. I use a custom theme but setting a font under `.gajim-conversation-text` doesn't seem to affect it.

  10. cal0pteryx

    mutt, check out GTK Inspector. it lets you browse the CSS tree

  11. mutt

    Thanks. Does that work on flatpak apps?

  12. cal0pteryx

    I don't know, try it

  13. mutt

    It works but it's not exactly what I'm looking for.

  14. cal0pteryx

    mutt: you can click the picker button to the top left, select a reply, then in the combo box select css, then you see all classes

  15. mutt

    Alright

  16. mutt

    Apparently, it's `box:dir-ltr.horizontal.referenced-message`

  17. cal0pteryx

    Or just .referenced-message

  18. mutt

    https://dev.gajim.org/gajim/gajim/-/blob/master/gajim/data/style/default.css

  19. mutt

    Based on this, I think all selector names should started with "gajim-"

  20. mutt

    But gajim-referenced-message doesn't work.

  21. lovetox

    The class name is referenced-message

  22. lovetox

    You don't need to add something

  23. mutt

    Thanks, bbiab

  24. mutt

    Hm. Interesting.

  25. mutt

    font-family, -size, -weight all take effect but not font-size.

  26. mutt

    Basically I'd just like to increase the font size in ref. messages.

  27. mutt

    I find the default too small.

  28. mutt

    ``` .gajim-conversation-text, .referenced-message { font-family: "Cantarell"; font-style: normal; font-size: 16pt; font-weight: 300 }```

  29. mutt

    ```.gajim-conversation-text, .referenced-message { font-family: "Cantarell"; font-style: normal; font-size: 16pt; font-weight: 300 }```

  30. mutt

    ```.gajim-conversation-text, .referenced-message { font-family: "Cantarell"; font-style: normal; font-size: 16pt; font-weight: 300 }```

  31. mutt

    ``` .gajim-conversation-text, .referenced-message { font-family: "Cantarell"; font-style: normal; font-size: 16pt; font-weight: 300 } ```

  32. mutt

    This is what I put in the theme css file.

  33. lovetox

    are you aware that you can adjust the size of all text in gajim in the settings?

  34. mutt

    Yes

  35. mutt

    But I'd like to set the font size in the chatbox area only and not to scale everything up in the app.

  36. mutt

    I mean, there's a setting in the UI for "Conversation: Text Font". It would be just logical for that to cover referenced messages too.

  37. lovetox

    yes its definitly a bug

  38. lovetox

    please open a issue for it

  39. qy

    you could just make a bot, that has a !issue command, that takes the last N messages and does that

  40. qy

    it'd be more reliable

  41. qy

    pre-emptive sorry i opened my mouth

  42. mutt

    > please open a issue for it I will, I just want to test a few things first.

  43. lovetox

    i try to think why the size is not applied

  44. lovetox

    something seems to have more precedence

  45. mutt

    Maybe it is hardcoded somewhere? If you look closely, the font size of the text is the same as the size of the nick and that's smaller too.

  46. mutt

    Maybe it is hardcoded somewhere? If you look closely, the font size of the text is the same as the font size of the nick and that's smaller too.

  47. mutt

    Or more precisely, I'm not sure if the font size of the nick is actually the same but it's smaller compared to regular messages.

  48. lovetox

    yes its set to 90%

  49. mutt

    ``` .referenced-message { font-size: 16pt !important; } ```

  50. mutt

    This crashes Gajim.

  51. lovetox

    i dont think thats supported by gtk

  52. lovetox

    thats not a browser css engine

  53. lovetox

    ah i know

  54. lovetox

    that class does not match the label

  55. lovetox

    you need to do `.referenced-message label {`

  56. mutt

    Thanks!

  57. mutt

    It works! Thanks, lovetox

  58. bot

    lovetox pushed 1 commits to branch gajim/master feat: Windows: Add native Windows notifications - https://dev.gajim.org/gajim/gajim/-/commit/4042e586bc9854b7e31f3b57bba55e69b593fb54

  59. Martin

    obivan@gajim.org is a spammer. Unfortunately theres no 157 contact to report to.

  60. lovetox

    thanks, i will relay it to the server operator

  61. Martin

    Thanks.

  62. lovetox

    also i told him to set the 157 contacts up :)

  63. Martin

    🙂

  64. roughnecks

    hello, any way to display the messages' count number notifications for a workspace for all messages and not just mentions?

  65. Michael

    lovetox:

  66. Michael

  67. bot

    lovetox pushed 1 commits to branch gajim/master perf: MessageRowActions: Fix memory leak - https://dev.gajim.org/gajim/gajim/-/commit/328a0ff8e4424ba633aa07ad09c4ca5adcf3cc22

  68. fjklp

    big memory leak?

  69. lovetox

    no

  70. fjklp

    I haven't experienced that problem with the messages appearing to come from someone else again, but I see that I have notes from may where messages were doubled in that same server and they had different occupant ids

  71. fjklp

    it might be a different bug in that case