QFileDialog doesn't return selectedFilter

Bug #488344 reported by Olivier Berten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
New
Undecided
Unassigned

Bug Description

With Karmic under Gnome (UNR) on my netbook, with this code (from SwatchBooker <http://www.selapa.net/swatchbooker/>) "filetype" stays empty.

  filetype = QString()
  fname = unicode(QFileDialog.getSaveFileName(self,
      "SwatchBooker - Save file", fname,
      ";;".join(filetypes.keys()),filetype))

The strange thing is that with exactly the same versions (libqtgui4 4.5.3really4.5.2-0ubuntu1, python-qt4 4.6-1, python 2.6.4-0ubuntu2) on my laptop I don't have any problem. And the strangest thing is that with my netbook under KDE, it also works as expected...

Revision history for this message
Olivier Berten (olivier-berten) wrote :

The bug is actually in the GTK+ style. All other styles work flawless.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.