After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 611735 - memory map scrolls on each refresh
memory map scrolls on each refresh
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: GNOME 3.2
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-03 19:40 UTC by Adam Dingle
Modified: 2013-08-22 09:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Memmaps: fix compare function (739 bytes, patch)
2013-08-18 16:26 UTC, Stefano Facchini
committed Details | Review

Description Adam Dingle 2010-03-03 19:40:21 UTC
In System Monitor, I can open a process's memory map to see the shared libraries and memory mapped files it is using.  Unfortunately, the memory map auto-refreshes every few seconds (according to the process update interval I've set in the Preferences dialog), and each time this happens the list automatically scrolls up toward the top.  This makes the window virtually unusable: as I scroll down through the list, I have only a few seconds to find the information I'm looking for before the list scrolls away from me.

I'd be happy if System Monitor simply read the information once for the memory map and never auto-refreshed.  Alternatively, we could reasonably keep the auto-refresh as long as it doesn't disturb the current scroll position.

I'm using System Monitor 2.28.0 on Ubuntu 9.10.
Comment 1 Adam Dingle 2010-03-03 19:56:32 UTC
I was wrong when I wrote above that the memory map auto-refreshes according to the process update interval set in the Preferences dialog.  Instead, it seems to auto-refresh at a constant rate (once every 5 seconds or so).  This means that I can't disable the annoying auto-refresh behavior by simply increasing the update interval.
Comment 2 Adam Dingle 2011-04-07 18:40:02 UTC
Still occurs with System Monitor 3.0.0.
Comment 3 Robert Roth 2011-11-16 20:39:58 UTC
I can confirm this with Gnome System Monitor 3.2.1.
Comment 4 Adam Dingle 2013-03-29 15:51:01 UTC
Still occurs with System Monitor 3.7.92.
Comment 5 Adam Dingle 2013-04-25 17:57:14 UTC
See also bug 698879.
Comment 6 Stefano Facchini 2013-08-18 16:26:12 UTC
The following fix has been pushed:
ed696eb Memmaps: fix compare function
Comment 7 Stefano Facchini 2013-08-18 16:26:16 UTC
Created attachment 252134 [details] [review]
Memmaps: fix compare function

less-then and not-greater-than are not the same...
Comment 8 Adam Dingle 2013-08-22 09:59:09 UTC
I can confirm this fixes the problem.  Thanks!