Shutter on start scan full disk including remote mounts and take ages for start

Bug #1858445 reported by Hubbitus on 2020-01-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

$ rpm -q shutter
Fedora 31 desktop.

When I start shutter to appear main window and became functional it takes up to 10 minutes!

I've try understand why and run:
strace 2>&1 shutter | ts | ts -i | tee shutter.strace

Some interesting founds:
$ fgrep -v '00:00:0' shutter.strace
00:00:39.977627 18:11:30.208967 futex(0x7ffde3f2ffe0, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
00:02:07.909194 18:13:40.782562 stat("/mnt/remote/", 0x7ffde3f2fe80) = -1 ENXIO (No such device or address)
00:02:08.637653 18:15:49.420294 stat("/mnt/remote/", 0x7ffde3f2fe80) = -1 ENXIO (No such device or address)

/mnt/remote/* is my remote sshfs automounts!! For what shutter go to that??

$ fgrep 'stat("/' shutter.strace | wc -l

I see it walk from root and go to /tmp, /var, /usr, /home, /mnt, /opt.... It looks like it look everything!

Please stop doing that.
Or at-least provide settings which directories needs to be scanned on start.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers