plerup/LaunchBar

bug: drag&dropping on an item doesn't work for some specific file paths

Opened this issue · 0 comments

Hello, Mr. Lerup, I'd like to inform you about a bug in your LaunchBar program:

Drag&dropping a file which contain some specific character(s) in its path on an item on the LaunchBar doesn't not correctly pass the entire path of the respective file to the program linked to by the item.

As an example, here's the output when I drag&drop two different files on my Exiftool item entry on my LaunchBar:

(1) a path that works as expected:
C:\Users\Administrator\Downloads\04503BTCDdl2_Small_doodle2.jpg
--------------------------------------------------------------------------------
ExifTool Version Number         : 9.99
File Name                       : 04503BTCDdl2_Small_doodle2.jpg
Directory                       : C:/Users/Administrator/Downloads
File Size                       : 4.0 kB
File Modification Date/Time     : 2017:08:16 09:02:50+09:00
File Access Date/Time           : 2017:08:16 09:02:50+09:00
File Creation Date/Time         : 2017:08:16 09:02:50+09:00
File Permissions                : rw-rw-rw-
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Quality                         : 69%
DCT Encode Version              : 100
APP14 Flags 0                   : [14], Encoded with Blend=1 downsampling
APP14 Flags 1                   : (none)
Color Transform                 : YCbCr
Image Width                     : 154
Image Height                    : 30
Encoding Process                : Progressive DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:4:4 (1 1)
Image Size                      : 154x30
Megapixels                      : 0.005
-- press any key --
--------------------------------------------------------------------------------
(2) a path that doesn't seem to be passed on to correctly:
C:\_underscore_\leader-vladimir-head-lenin.si (2).jpg
--------------------------------------------------------------------------------
File not found: C:/_underscore_/leader-vladimir-head-lenin.si
File not found: (2).jpg
    0 image files read
    2 files could not be read
-- press any key --
--------------------------------------------------------------------------------

Additionaly, I'd like to mention two more points on your software, while I'm at it.

One feature I miss is being able to drag and drop files when 'Always on top' and 'Auto-hide' options are turned on. Currently in your application, with the former two options turned on, there's no drag&dropping files on an icon onto the LaunchBar, as dragging a file on the folded LaunchBar does not un-hide it.

Secondly, this is just some suggestion, as this may contradict your design goal as a developer, but since the days of Windows XP, I've missed the feauture that lets you drag&drop files in subfolders of your dock-bar, or in the case of your program, the ability to drag&drop something on popup menu items.

One possible justification against it I can think of is that it would intefere with the ability to drag&drop items on the LaunchBar to add them as buttons.

I have, however a humble suggestion to get around this problem:

It is to divide the whole area of the LaunchBar into the actual space occupied by item icons and 'border areas' sitting beween each of them.
This way, if you drag&drop a file right onto an icon, it would launch the application that corresponds to that icon, but if you drag&drop it on a 'border area', it would add the file as an item listed on the LaunchBar.

Well, this was just an opinion from a random user.

Anyway, thank you very much for putting your time into making this nice and lovable little piece of software.

Regards.