Strip leading '.' characters from $name field in filename

Bug #1854109 reported by scottku on 2019-11-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

It appears that any '/' characters in the title get swapped out with '-' (which seems like a good idea to prevent absolute paths as titles from causing trouble!).

My suggestion is to also strip one or more '.' characters from the front of the name if they are present. If this isn't fixed, shutter may create screenshots that are hidden in the folder on Linux.

I'm using Ubuntu 19.10, Shutter 0.94.3, rev 1306

(I noticed this program because I have graphical programs that I write that use $argv[0] as the window's title. So, the title is often "./myprogram" if I use that command to run it.

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

Other bug subscribers