Peter Wu
changed
bug 10601
What |
Removed |
Added |
Status |
RESOLVED
|
CONFIRMED
|
CC |
|
[email protected]
|
Resolution |
FIXED
|
---
|
Comment # 13
on bug 10601
from Peter Wu
The fix is incomplete, auto_scroll_live is not used by GTK+ *only*, it will
also trigger a "goto bottom" action in file.c. In Qt, auto_scroll_live is set
once from preferences an never touched again after that. This monkey patch
"fixes" the problem...
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp
index fd3c509..a63d6f8 100644
@@ -686,6 +686,7 @@ void PacketList::recolorPackets()
void PacketList::setAutoScroll(bool enabled)
{
+ auto_scroll_live = enabled;
tail_at_end_ = enabled;
if (enabled && capture_in_progress_) {
scrollToBottom();
... but it seems duplicated functionality. How do you want to proceed here?
Make Qt trigger periodic scroll updates (using the timer) or let the capture
process (file.c) trigger scrolling jumps?
I also noticed that a full CPU core is hogged while capturing, could it be
related to this bug?
You are receiving this mail because:
- You are watching all bug changes.