Closed Bug 1768381 Opened 2 years ago Closed 2 years ago

Cannot paste clipboard into name field in save dialog

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 100
defect

Tracking

()

RESOLVED MOVED

People

(Reporter: nguermond, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

  1. download a pdf document
  2. attempt to paste text into the 'Name' field

Actual results:

The following error dialog appears:
"The folder contents could not be displayed: operation not supported"

Expected results:

clipboard should be pasted into the name field

This worked as expected until upgrading to ubuntu 22.04 and switching to the firefox snap (instead of deb package)

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

Could you clarify step to reproduce a bit?
You download a pdf document and then do what with it? Is step 2 in the save dialog?

That save dialog is something Gnome (assuming you use Gnome) provides.

Flags: needinfo?(nguermond)
Component: DOM: Core & HTML → Widget: Gtk
Blocks: snap
Priority: -- → P3

(In reply to Olli Pettay [:smaug] from comment #2)

Could you clarify step to reproduce a bit?
You download a pdf document and then do what with it? Is step 2 in the save dialog?

That save dialog is something Gnome (assuming you use Gnome) provides.

The same issue also occurs when I try to save an image.
To reproduce:

  1. select 'save as' for an image/download in the pdf viewer
  2. copy some text with control + C
  3. in the 'Name' field of the save dialog:
  • select the full name with control + A
  • paste the text with control + V
    --> error occurs

I am currently using GNOME 42.0
Previously I was using Ubuntu 20.04 with GNOME 3.36

Flags: needinfo?(nguermond)

Should I report this as an issue in Gtk? Although I am not sure which version of Gtk firefox uses.

This seems to be an issue with gtk4. I was able to reproduce a minimal working example in c.
It works as expected in gtk3.

I cross posted the issue in gtk:
https://gitlab.gnome.org/GNOME/gtk/-/issues/4905

Ok, sounds like this is a gtk issue and this was moved to Gnome's issue tracker.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.