[Bug 245301] Message list scroll bar doesn't work after deleting a message

Manuel Nickschas sputnick at quassel-irc.org
Wed Aug 4 12:13:43 BST 2010


https://bugs.kde.org/show_bug.cgi?id=245301





--- Comment #3 from Manuel Nickschas <sputnick quassel-irc org>  2010-08-04 13:13:40 ---
Talking to tokoe on IRC further narrows it down: It always breaks when the
message list is scrolled all the way down when *selecting* the message.
Deleting works fine if the message-to-be-deleted is selected when the scrollbar
is not at the bottom end (even if after selection you scroll down).

Excerpt from the conversation for future reference:

<tokoe> Sput: we were aware that this bug only happens with Qt4.7
<tokoe> Sput: but i thought it is also related to the akonadi port of kmail
<tokoe> Sput: however if it is reproducable with KMail 4.4 and Qt 4.7, then it
is definitely a bug in Qt
<tokoe> Sput: it happens when your scrollbar is visible and you have scrolled
it down to the end
<tokoe> Sput: i tracked it down to a different sequence of signal emission and
selection change
<Sput> you need to *select* the message when the scrollbar is at the end
<Sput> scrolling up, selecting a message, scrolling down, deleting works fine
<Sput> scrolling down, selecting, scrolling up, deleting breaks
<tokoe> Sput: the code in the messagelist library reacts on a row removed
signal, stores the selection, checks some conditions and restores the selection
<tokoe> Sput: and somehow with qt 4.7 the selection is a different then with qt
4.6
<tokoe> Sput: iirc in 4.6 the selection is still the row to be removed, while
in 4.7 the selection is the row after/before the one to remove

<Sput> shall I include the IRC log?
<tokoe> Sput: yes, but with a big disclaimer for 'if i recalled correctly'...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list