Bug 856367 - Impossible to rename a pdf file after choosing the directory
Summary: Impossible to rename a pdf file after choosing the directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk2
Version: 17
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL: http://pix.toile-libre.org/upload/ori...
Whiteboard:
: 854994 857007 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-11 21:58 UTC by SwissTico
Modified: 2012-11-20 09:18 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-20 09:18:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 675180 0 None None None 2012-09-11 22:04:24 UTC
KDE Software Compilation 299121 0 None None None 2012-09-11 22:05:03 UTC

Description SwissTico 2012-09-11 21:58:15 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Build Identifier: 

When we want to "print in a file" from Firefox, Inkscape or any other program based on GTK in the KDE environment, it's possible to rename the file, but soon as that we select the directory, it's not possible anymore to rename the file

Reproducible: Always

Steps to Reproduce:
After opening Firefox (or other GTK based program like Inkscape, Gimp, etc.) print the document and in the Window (See the attached picture) :
1. Select print to a file
2. Select a folder
3. Try to rename the document 
Actual Results:  
Impossible to rename the file

Expected Results:  
Possibility to rename the file

It's possible to rename the file before to select the directory but not after.

Comment 1 nucleo 2012-09-11 22:04:24 UTC
This is gtk2 and gtk3 bug.
For gtk2 apps workaround is downgrade to gtk2-2.24.10 because bug appeared in 2.24.11.

Comment 2 Rex Dieter 2012-09-11 22:07:16 UTC
confirmed with thunderbird too.  It's worse, once one selects the folder field of the print dialog, it's impossible to do *any* keyboard input into any widget/field on the print dialog, not just the filename field.

Tested shotwell, a gtk3 app, and that one didn't suffer this problem, so seems specific to gtk2 (or gtk3 has already been fixed?).


$ rpm -q gtk2 gtk3 oxygen-gtk2 oxygen-gtk3
gtk2-2.24.11-1.fc17.x86_64
gtk2-2.24.11-1.fc17.i686
gtk3-3.4.4-1.fc17.x86_64
oxygen-gtk2-1.3.0-1.fc17.x86_64
oxygen-gtk3-1.1.0-1.fc17.x86_64

Comment 3 Rex Dieter 2012-09-11 22:12:26 UTC
In the meantime, if a gtk2 fix isn't coming quickly, we could consider the oxygen-gtk workaround mentioned in
https://bugs.kde.org/show_bug.cgi?id=299121#c11
to comment out the line 
GtkComboBox::appears-as-list = 1
in
/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc

Comment 4 nucleo 2012-09-13 11:32:55 UTC
*** Bug 857007 has been marked as a duplicate of this bug. ***

Comment 5 Marek Kašík 2012-09-13 16:35:34 UTC
It seems that this behavior is caused by the commit 3f6592f60fd15fb353fc84600caefba3054dc892 (Iconification using _NET_WM_STATE_HIDDEN hint if supported by WM). The window probably needs to have called "_gdk_xgrab_check_unmap()" on itself in the UnmapNotify X event handler even if the screen supports _NET_WM_STATE_HIDDEN.
I'll continue on this tomorrow.

Regards

Marek

Comment 6 Marek Kašík 2012-09-14 13:26:43 UTC
The problem was really the one I've commented about in comment #5. Fortunately enough it is already fixed in 2.24.12, 3.4.4 and master. See commits http://git.gnome.org/browse/gtk+/commit/?h=gtk-2-24&id=a9fb816a3f64227936f4b25882e4f20ab5018c9c , http://git.gnome.org/browse/gtk+/commit/?h=gtk-3-4&id=18de282771b30e6e9ab8c2c8ba314484a29ac643 and http://git.gnome.org/browse/gtk+/commit/?id=16458b0de2203a0956c55f21d18e6af916e4c066.
We just don't have gtk+-2.24.12 in updates yet.

Regards

Marek

Comment 7 Kevin Kofler 2012-09-17 23:47:50 UTC
> We just don't have gtk+-2.24.12 in updates yet.

And when can we expect it?

Comment 8 Kevin Kofler 2012-09-17 23:55:07 UTC
FYI, nucleo asked the same question on IRC and got this answer:
<mclasen_> will appear sometime this week, I hope

Comment 9 nucleo 2012-09-18 19:58:03 UTC
*** Bug 854994 has been marked as a duplicate of this bug. ***

Comment 10 nucleo 2012-10-06 17:36:49 UTC
gtk2-2.24.13 built for F19 and for F18 but not for F17, so this bug still actual.

Comment 11 nucleo 2012-10-20 00:10:31 UTC
This update should fix bug https://admin.fedoraproject.org/updates/FEDORA-2012-16441

Comment 12 Fedora Update System 2012-10-20 00:13:26 UTC
gtk2-2.24.13-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/FEDORA-2012-16441/gtk2-2.24.13-1.fc17


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