Open Bug 1825051 Opened 2 years ago Updated 1 year ago

Real file name not used when attachment is stored on Google drive and accessed via GIO

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: bigon, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce:

  1. Configure GNOME to access Google drive
  2. Write a new mail
  3. Open nautilus to access the directory containing the file
  4. Drag and Drop the file in the window

Actual results:

The real name of the file is not used/displayed, only some random string (technical name?) is.

Expected results:

The real name of the file is used and displayed on the dialog

Note that accessing the file via the add attachment button is difficult/not possible because of bug #1330756, so this is maybe the same bug or at least related

My understanding is that the code should call g_file_info_get_display_name().

I don't see anywhere in the code that function being called, only g_file_info_get_name(), so the fix might be easy

Do you have the same issue with dnd of a file in Firefox?

If I dnd a file from Google drive (a pdf for example) the name of the file is not properly set in the tab

So yes firefox has the same problem

Component: Untriaged → Widget: Gtk
Product: Thunderbird → Core
Version: Thunderbird 102 → unspecified

Hello,

Any news? This is really annoying :/

(In reply to Laurent Bigonville from comment #5)

Hello,

Any news? This is really annoying :/

Do you mind to investigate and try to create a patch? How-to is here:
https://mastransky.wordpress.com/2023/07/04/no-one-fights-alone-a-guide-to-your-first-firefox-patch-on-linux/
Thanks.

You need to log in before you can comment on or make changes to this bug.