Ticket #2904 (reopened enhancement)

Opened 2 years ago

Last modified 8 weeks ago

Color, Font and other things in Conference Rooms and single chats

Reported by: grabber@… Owned by: roidelapluie
Priority: normal Milestone: 0.13
Component: chat Version:
Severity: normal Keywords: xhtml gui formating
Cc: mateusz@… OS: All

Description

Yeah, how are you?

Developers from Gaim implemented a bar with colors, fonts, smileys on conference rooms. I think this is very cool improvent to Gajim, can we work on it?

Thanks for support, thanks for all code developed!

Thanks.

Attachments

Capture-test - Gajim.png (55.5 kB) - added by roidelapluie 19 months ago.
Capture-test - Gajim-1.png (50.9 kB) - added by roidelapluie 19 months ago.
begin_of_sending_xhtml.2.diff (20.9 kB) - added by roidelapluie 19 months ago.
Take a look at my ugly code (Don't try this at home kids)
begin_of_sending_xhtml.diff (20.9 kB) - added by roidelapluie 19 months ago.
Take a look at my ugly code (Don't try this at home kids)
Capture-test - Gajim-2.png (61.4 kB) - added by roidelapluie 19 months ago.
patch_xhtml.diff (21.6 kB) - added by roidelapluie 19 months ago.
new patch fixing news lines and < >. Unstable and buggy.
patch_xhtml.2.diff (21.8 kB) - added by roidelapluie 19 months ago.
Fix a bug with colors
pidgin-font-dropdown.png (157.4 kB) - added by vArDo 10 months ago.
Font dropdown menu in Pidgin's chat window
pidgin-insert-dropdown.png (46.9 kB) - added by vArDo 10 months ago.
Insert dropdown menu in Pidgin's chat window
pidgin-smile-popup-window.png (37.8 kB) - added by vArDo 10 months ago.
Small popup window with emoticons in Pidgin's chat window
alpha1.diff (26.8 kB) - added by roidelapluie 5 months ago.
this is a new version of the code. compatible with latest svn. new: font conog
alpha2.diff (27.0 kB) - added by roidelapluie 5 months ago.
xhtml_in_chats.png (22.8 kB) - added by roidelapluie 5 months ago.
alpha3_with_key_shorcuts.diff (30.5 kB) - added by roidelapluie 5 months ago.
alpha4.diff (31.0 kB) - added by roidelapluie 5 months ago.
now with ckackmenuitems
beta1.diff (32.3 kB) - added by roidelapluie 5 months ago.
Beta: now handle url's and don't send xHTML if it is not needed

Change History

Changed 2 years ago by asterix

do you have a screenshot ? We already have the emots button, and I don't see the need to change font and color in each message, so have this features in pref windows seems enough to me

Changed 2 years ago by anonymous

I think this is a very cool feature, you ready?

Screenshot: http://cyber-labs.org/feature.png

Thanks, Grabber.

Changed 2 years ago by asterix

ha .. this is used to generate XHTML. So yes we'd like to do such an interface. Patches are welcome :)

Changed 2 years ago by grabber@…

I need study it, i don't have a solution yeat. Anyone can help me to develop this patch? Thanks!

Changed 19 months ago by roidelapluie

  • owner changed from asterix to roidelapluie
  • status changed from new to assigned
  • os set to All

Changed 19 months ago by roidelapluie

I'll work on this :-)

Changed 19 months ago by roidelapluie

  • keywords xhtml gui formating added
  • summary changed from Color, Font and other things in Conference Rooms to Color, Font and other things in Conference Rooms and single chats
  • type changed from defect to enhancement
  • milestone set to 0.12

Changed 19 months ago by roidelapluie

Changed 19 months ago by roidelapluie

Changed 19 months ago by roidelapluie

Take a look at my ugly code (Don't try this at home kids)

Changed 19 months ago by roidelapluie

Take a look at my ugly code (Don't try this at home kids)

Changed 19 months ago by roidelapluie

Changed 19 months ago by roidelapluie

new patch fixing news lines and < >. Unstable and buggy.

Changed 19 months ago by roidelapluie

Fix a bug with colors

Changed 17 months ago by neoex

Why not making something more clean, for example a dropdown menu with bold, italic etc options, like pidgin does?

Changed 12 months ago by steve-e

  • milestone changed from 0.12 to 0.13

There hasn't been any progress on this for months. We will have to complete features like this in 0.13.

Changed 12 months ago by roidelapluie

Yes I have a big problem with it and I'll have to investigate more deeply

Changed 10 months ago by vArDo

  • status changed from assigned to closed
  • resolution set to fixed

My opinion: I agree with neoex. Formatting should be in a drop down menu (or maybe 2 menus) like in Pidgin. The current way (looking at screenshots) it is done can be overwhelming when you add some more icons (i.e. strikethrough). I remember that this was one of the main reasons why I moved from Gaim to Gajim. There were too many (unuseful for me) icons in chat window and no way to hide them.

Changed 10 months ago by vArDo

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 10 months ago by asterix

could you attach a screenshot of this windows in pidgin? The ones I see on their site have many buttons.

Changed 10 months ago by vArDo

Font dropdown menu in Pidgin's chat window

Changed 10 months ago by vArDo

Insert dropdown menu in Pidgin's chat window

Changed 10 months ago by vArDo

Small popup window with emoticons in Pidgin's chat window

Changed 10 months ago by vArDo

All the screenshots I've attached are from Pidgin 2.4.0. I think it would be nice to organize rst formatting in this way to show people what's available. But I don't suppose people really click on those buttons, so a dropdown menu is OK. At least I'm a keyboard-only Gajim user (it's simply much faster IMHO).

Changed 10 months ago by asterix

My opinion is that it's a good way to encourage users to not use HTML: if you want to change several properties, it's many clicks. But I also agree that having many buttons bloats the UI...

Changed 5 months ago by roidelapluie

  • milestone changed from 0.13 to 0.12

Changed 5 months ago by roidelapluie

this is a new version of the code. compatible with latest svn. new: font conog

Changed 5 months ago by roidelapluie

s/conog/config/

Changed 5 months ago by roidelapluie

Changed 5 months ago by js

What needs still to be done:

  • Clickable links when sending XHTML
  • A way do disable sending XHTML at all
  • Shortcuts for bold, underline, italc, maybe strikethorugh. Font and Colour won't make sense as you have to click for these anyway - it would only make sense to have a shortcut for example to make it red. I'd suggest Alt-B, Alt-I and Alt-U here, they aren't used yet.

Changed 5 months ago by js

And maybe we should make the styles checkbox menu items? So you see whether they're active or not when you open the menu.

What I absolutely miss: Select for example bold and then the text I type should be bold, until I select bold again / deselect it if we make it a checkbox. When we have shortcuts, that would allow for example typing: "This is ^[bnot^[b the way it should be" and would display the not bold then :). (Note: when pressing Alt together with a key, that usually generates an escape code, so ^[something is basically Alt-something).

Another thing that'd be nice: XHTML-IM allows writing lists (ul and ol). That'd be very cool to have them!

Do we want to allow to insert images? Maybe a reason to implement BoB, which we should implement anyway for captchas at registration?

Changed 5 months ago by roidelapluie

Changed 5 months ago by roidelapluie

Changed 5 months ago by steve-e

  • milestone changed from 0.12 to 0.13

Sorry roidelapluie, but that won't go into 0.12. There is still a lot of stuff to do and each new feature will delay the release.

Changed 5 months ago by roidelapluie

now with ckackmenuitems

Changed 5 months ago by roidelapluie

mmmh... yes that's something I understand.

I thought the feature freeze would come with the alpha release.

But, my patch is now Okay and everybody can test it.

Changed 5 months ago by js

steve-e, I tested it, and if he fixes the issues I listed above before 0.12 alpha, I think we can include that in 0.12 alpha. It works pretty good with alpha4 of his patch. Did you give it a try, steve-e?

Changed 5 months ago by roidelapluie

Beta: now handle url's and don't send xHTML if it is not needed

Changed 5 months ago by vArDo

  • cc mateusz@… added

Changed 8 weeks ago by roidelapluie

[10648] Very basic integration of xHtml GUI

Add/Change #2904 (Color, Font and other things in Conference Rooms and single chats)

Author



Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.