Bug 240884

Summary: SLAB is checking each 'recently used document' every time it's opened...
Product: [openSUSE] openSUSE 10.3 Reporter: Magnus Boman <mboman>
Component: GNOMEAssignee: Scott Reeves <sreeves>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: andreas.hanke, captain.magnus, pavel
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Magnus Boman 2007-01-31 21:04:01 UTC
Every time you open Slab, it's checking each document in .recently-used. I don't really see the point of this, as even if the docu doesn't exist anymore, it's still kept in the list.
What happened to me was that I was in the office, accessing internal FTP servers  (via Nautilus/File/Connect to server...). Then I went home, and Slab would not open/respond. Attaching to the PID with strace showed that it tried to contact the internal FTP server (connect(20, {sa_family=AF_INET, sin_port=htons(21), sin_addr=inet_addr("147.2.142.117")}, 16))
Only after starting VPN to the office, Slab would respond again.

I was also a bit stunned to learn that each time a file was modified (at least in $HOME), Slab checked it out (From strace: read(19, "\1\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0main-menu.trace\0", 1024) = 32).

And third, it seems like there's tons of calls to gettimeofday: I have thousands of these in my trace file:
   gettimeofday({1170215006, 846805}, NULL) = 0
   gettimeofday({1170215006, 846821}, NULL) = 0
   gettimeofday({1170215006, 846837}, NULL) = 0
Comment 1 Magnus Boman 2007-04-10 10:38:35 UTC
No interest, closing...
Comment 2 Pavel Šefránek 2008-03-16 09:18:58 UTC
Magnus: There are many other bugs waiting for review, so please _be_ patient and do NOT close unconfirmed bugs. Thanks.
Comment 4 Magnus Boman 2008-04-30 03:07:24 UTC
Not a problem with latest g-m-m.