Dragging from Gnome's Google Drive to firefox creates reference to extensionless temporary file.
Copying works correctly.
Is there a solution to this?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
From what I tested, with a pdf file, the behaviour of transferring files from Google Drive, from a connected Google account, depends on what applications you are using.
If I work with source and target Nautilus windows, I can either Copy-Paste or Click-and-Drag, and the name is correctly kept. It appears integration with Gnome, which has Nautilus as its file manager, works well.
If I work with source Nautilus and target Dolphin (the KDE file manager) windows,
Click-and-Drag uses the temporary file name in the target,
Copy-Paste sometimes produces that same result and sometimes does not even work ("unable to create io-slave klauncher said unknown protocol 'google-drive'").
I didn't investigate further.
kio-gdrive is required for KDE applications to interoperate with GDrive, but I did not try that either.
As for Click-and-Drag from Nautilus to a Gmail composition as an attachment in Firefox that doesn't work for me.
EDIT: This suggests you might have more luck trying a different desktop manager, but it seems like a big change (and merely an attempt), if only motivated by the drag-and-drop feature between different applications for GDrive.
EDIT #2: As a possible workaround, you may have two Nautilus windows #1/#2 open. You would drag from GDrive in #1 into a local temp folder in #2. Then you would drag from #2 into your gmail composition.