Package: sim
Version: 0.9.3-1
Severity: minor
Tags: patch, upstream

When the conversation window has focus, new messages from your party
don't show up automatically at the bottom of the window: the scrollbar
stays a little bit too high. This problem is described in the
following bug report:

http://sourceforge.net/forum/forum.php?thread_id=1056283&forum_id=190534

A patch is proposed there, and although a bit crude it fixes the
problem just fine. Credit for this patch goes to Johan Ekenberg.

################################################################################
--- sim-0.9.3-orig/plugins/_core/msgview.cpp 2004-03-30 01:42:24.000000000 
+0200 
+++ sim-0.9.3/plugins/_core/msgview.cpp 2005-01-26 02:31:40.000000000 +0100 
@@ -194,12 +194,16 @@ 
setBackground(0); 
if ((paraFrom != paraTo) || (indexFrom != indexTo)) 
setSelection(paraFrom, indexFrom, paraTo, indexTo); 
+ 
+/* 
if (pos == -1){ 
scrollToBottom(); 
}else{ 
setCursorPosition(para, pos); 
ensureCursorVisible(); 
} 
+*/ 
+scrollToBottom(); 
} 
 
QString MsgViewBase::messageText(Message *msg, bool bUnread) 
################################################################################


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686-smp
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages sim depends on:
ii  kdelibs4             4:3.3.2-4.0.2       KDE core libraries
ii  libart-2.0-2         2.3.17-1            Library of functions for 2D graphi
ii  libaudio2            1.7-2               The Network Audio System (NAS). (s
ii  libc6                2.3.2.ds1-20        GNU C Library: Shared libraries an
ii  libfam0c102          2.7.0-6             client library to control the FAM 
ii  libfontconfig1       2.3.1-2             generic font configuration library
ii  libfreetype6         2.1.7-2.3           FreeType 2 font engine, shared lib
ii  libgcc1              1:3.4.3-11          GCC support library
ii  libice6              4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library
ii  libpng12-0           1.2.8rel-1          PNG library - runtime
ii  libqt3c102-mt        3:3.3.3-8           Qt GUI Library (Threaded runtime v
ii  libsm6               4.3.0.dfsg.1-12.0.1 X Window System Session Management
ii  libssl0.9.7          0.9.7e-3            SSL shared libraries
ii  libstdc++5           1:3.3.5-10          The GNU Standard C++ Library v3
ii  libx11-6             4.3.0.dfsg.1-12.0.1 X Window System protocol client li
ii  libxcursor1          1.1.3-1             X cursor management library
ii  libxext6             4.3.0.dfsg.1-12.0.1 X Window System miscellaneous exte
ii  libxft2              2.1.2-6             FreeType-based font drawing librar
ii  libxml2              2.6.16-3            GNOME XML library
ii  libxmu6              4.3.0.dfsg.1-12.0.1 X Window System miscellaneous util
ii  libxrender1          0.8.3-7             X Rendering Extension client libra
ii  libxslt1.1           1.1.12-5            XSLT processing library - runtime 
ii  libxt6               4.3.0.dfsg.1-12.0.1 X Toolkit Intrinsics
ii  xlibmesa-gl [libgl1] 4.3.0.dfsg.1-12.0.1 Mesa 3D graphics library [XFree86]
ii  xlibs                4.3.0.dfsg.1-12     X Keyboard Extension (XKB) configu
ii  zlib1g               1:1.2.2-4           compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to