------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=59080         




------- Additional Comments From des condordes net  2007-05-08 22:55 -------
Created an attachment (id=20518)
 --> (http://bugs.kde.org/attachment.cgi?id=20518&action=view)
kopete-format-toolbar.patch

This has been driving me absolutely batty for a long time, so I wrote a patch
against the 3.5 branch (attached).

KMainWindow's standard way of tracking toolbar visibility doesn't work for the
format toolbar.  This is because the format toolbar is automatically
shown/hidden based on whether or not the protocol(I think?) supports rich text.
 So it would be automatically shown every time the user opened a chat window
using such a protocol.

The solution is to keep a separate, special config option based not on whether
the toolbar is actually visible or not, but on the *last specific show/hide
request* the user made.  (Then, of course, only show the toolbar if the user
requested it.)  This preserves the toolbar visibility even when it is
automatically shown/hidden due to RTFness.

It has to be a separate option because otherwise there is no way to know if the
toolbar was hidden because the user requested it, or because the protocol
doesn't support rich text.

I preserved the existing default of "show the toolbar if it's supported".

Please review and commit if it's OK.  Thanks!
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to