Bug 51675 - Chat window wastes to much space.
Summary: Chat window wastes to much space.
Status: CLOSED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-09 09:24 UTC by robert lindgren
Modified: 2002-12-23 20:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert lindgren 2002-12-09 09:24:54 UTC
Version:            (using KDE KDE 3.0.4)
Installed from:    Debian testing/unstable Packages
OS:          Linux

There is an extra newline between all messages in the chat window, which isn't possible to get rid off. Would be nice if it would be possible to configure this newline to go away. The problem is that if one sends many small messages the chat window wastes so many lines on newlines, if not one would be able to see the double amount of messages at one time, without scrolling.
Comment 1 Rob Kaper 2002-12-09 09:37:47 UTC
This is quite possible, actually.. 
 
I set my Chat Window configuration to Personalised: 
 
%i<font color="#0360B1">%i %o<font color="#E11919">%o %s<font 
color="#000000"><i>%s (%T) %e<b>%f:</b>%e%s</i>%s</font> %F%M%F  
 
This doesn't use tables and takes up less space. Might be useful to remove the 
table defaults for a more compact appearance, or at least store this one as 
"Compact" so users can find it easier? 
Comment 2 Duncan Mac-Vicar Prett 2002-12-09 10:35:38 UTC
CVS Version already supports perzonalized chat layout. 
Comment 3 Stefan Gehn 2002-12-09 17:08:53 UTC
qt bug, they add too many <p>'s in the code, no way to get around that without 
loosing background-color support. 
Comment 4 Till Gerken 2002-12-09 21:47:29 UTC
Subject: kdenonbeta/kopete/libkopete/ui

CVS commit by gerken: 

Adding "compact" format as suggested by Rob Caper.
CCMAIL: 51675@bugs.kde.org


  M +5 -0      kopetechatwindow.cpp   1.77
  M +6 -1      prfschatwindow_ui.ui   1.5


--- kdenonbeta/kopete/libkopete/ui/kopetechatwindow.cpp  #1.76:1.77
@@ -827,4 +827,9 @@ QString KopeteChatWindow::KindMessagesHT
                         "%o<font color=\"#E11919\">%o %s<font color=\"#000000\"><i>%s" 
                         " (%T) %e<b>%f:</b>%e%s</i>%s</font> %F%M%F "+ end;
+        case 3:
+                // Compact
+                return "%i<font color=\"#0360B1\">%i "
+                        "%o<font color=\"#E11919\">%o %s<font color=\"#000000\"><i>%s "
+                        "(%T) %e<b>%f:</b>%e%s</i>%s</font> %F%M%F";
         case 0:
         default:

--- kdenonbeta/kopete/libkopete/ui/prfschatwindow_ui.ui  #1.4:1.5
@@ -132,5 +132,5 @@
                             </property>
                         </widget>
-                        <widget class="KComboBox" row="0" column="1">
+                        <widget class="QComboBox" row="0" column="1">
                             <item>
                                 <property name="text">
@@ -151,4 +151,9 @@
                                 <property name="text">
                                     <string>IRC</string>
+                                </property>
+                            </item>
+                            <item>
+                                <property name="text">
+                                    <string>Compact</string>
                                 </property>
                             </item>


Comment 5 Santiago Erquicia 2002-12-23 03:45:19 UTC
In my case, when I'm using MSN all the messages have one blank line between. 
But on ICQ the received ones have more than one line.

I'm using RedHat 8
Comment 6 Stefan Gehn 2002-12-23 20:32:11 UTC
fixed in CVS