GNOME/GtkFileChooser bug week

From openSUSE

What is this? We will take a week to fix as many bugs as possible in GtkFileChooser, the GNOME file dialog.

When does this take place? Monday 2008/March/03 to Friday 2008/March/07

Where will people hang out? irc.freenode.net #opensuse-gnome

Contents

How to participate

For everyone: Please see the tracker bug for GtkFileChooser issues, and look where it says "Dependencies" in the bug page. That is where the actual bugs are listed.

FIXME: link to bugzilla.gnome.org with *all* the file chooser bugs?

Hacking

We need volunteers to fix bugs! Federico Mena will guide you through GtkFileChooser's code. See the section on hacking for more information.

If you have unreviewed or stalled patches for the file chooser, Federico Mena will also get off his butt, review them, and make them available for testing.

Testing

We need neurotic testers with an eye for detail, the kind of people who will return a meal if it has one more molecule of salt than it needs. See the section on testing for more information.

Build service and package repositories

Do you want to test this on other distros? Add your repositories to the build service!

Build service package

Installation repositories

Progress

Feel free to modify this section with your participation!

Bug or project What to test Who's fixing this Available for testing? Who's testing it
Single-click shortcuts See below Federico 10.3: Done!
11.0: building
Don't select the file extension when saving See below Federico 10.3: Done!
11.0: building
Remember size and position See below David Liang
Completion rewrite See below Federico 10.3: Done!
Scrollwheel on path bar Use the scrollwheel in the path bar (the row of buttons at the top) to scroll very long pathnames. Carlos Garnacho 10.3: Building
11.0: Building

Hacking

FIXME: package sources / build service package which people can clone?

FIXME: git repo?

Testing

FIXME: Link to build service package?

Subprojects

Completion rewrite

Federico is rewriting the completion engine in the file chooser's text entry. This is what automatically inserts and selects parts of filenames as you type, and what makes Tab completion work.

  • bnc171077 - Tab completion should work when the cursor is not at the end of the entry.
  • bnc355225 - Bad performance when loading large directories. This is the fault of the completion entry.
  • bnc362102 - Tab doesn't work in the Save dialog. Not really a bug, but there's no feedback to indicate that completion is being done when you press Tab.
  • FIXME: link to upstream bugs that deal with completion

Single click shortcuts

The shortcuts pane used to require a double-click. Josselin Mouette from the Debian project made it nicely single-click, and the file chooser feels much smoother. This patch needs to be merged into our package.

  • bgo148828 - Single-click activation for the shortcuts pane
  • bgo419737 - The Save dialog clears the filename entry when changing folders

What to test: You should be able to single-click on the shortcuts pane to go to a folder.

Remember size and position

The file chooser always starts at the minimum size, and it doesn't remember where you place it.

Don't select the file extension when saving

Programs bring up the Save dialog with a suggested filename, like "Untitled.jpg". It is convenient if the file chooser selects only "Untitled", so that typing will overwrite it, without deleting the ".jpg" extension.

  • bgo362516 - Skip extensions when selecting filenames

What to test: When you do "File/Save as" in a program, the suggested filename should be selected, but not the extension. So you should get [Untitled].jpg instead of [Untitled.jpg]

Merging unreviewed patches

  • bgo300334 - Dialog is resized when preview disappears
  • bgo417389 - Scrollwheel on path bar
  • bgo446068 - Enable rubberbanding on filechoosers with select-multiple=TRUE
  • bgo368931 - incorrect file entry completion filling when dropping files to the files view