[Bug 49698] Article viewer gets cleared when viewing new article and news fetch ends
Alexey Alexandrov
swined at gmail.com
Wed Mar 30 05:50:30 BST 2011
https://bugs.kde.org/show_bug.cgi?id=49698
Alexey Alexandrov <swined at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |swined at gmail.com
--- Comment #17 from Alexey Alexandrov <swined gmail com> 2011-03-30 06:50:26 ---
i'm also very annoyed by that stuff, and completely tired of the messages that
disappear while i am reading them with filter set to "threads with unread" and
auto-refresh set to on. so, i've just made a simple patch, that solves the
problem and seems to work for me without any noticeable issues.
diff --git a/knode/knarticlemanager.cpp b/knode/knarticlemanager.cpp
index 46d1b69..7340ff5 100644
--- a/knode/knarticlemanager.cpp
+++ b/knode/knarticlemanager.cpp
@@ -276,18 +276,8 @@ void KNArticleManager::showHdrs(bool clear)
}
- if (current && !current->filterResult()) { // try to find a parent that
is visible
- int idRef;
- while (current && !current->filterResult()) {
- idRef=current->idRef();
- if (idRef == -1)
- break;
- current = g_roup->byId(idRef);
- }
- }
-
- if(current && current->filterResult()) {
- if(!current->listItem())
+ if (current) {
+ if (!current->listItem() && current->filterResult())
createCompleteThread(current);
v_iew->setActive( current->listItem() );
setFirstChild=false;
--
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