[Thunar-dev] unable to select anything after changing folder in viewtype "detailed list"
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Tue Mar 21 15:11:04 CET 2006
Bjoern Martensen wrote:
> for example take a jpeg image.
> thunar has 2 programs for opening jpeg here: gqview and gimp. default
> is gimp. when i open the file properties (r-click -> properties) and
> change the selected item in the combobox "open with" from gimp to
> gqview, and viewtype was set to icons, the default action is now
> gqview (context menu shows gqview first too, as expected).
>
> now change viewtype to detailed and try the same thing again (change
> default action in properties). the combobox shows the selected program
> (for example you switched back from gqview to gimp), so it shows gimp.
> even if you reopen the properties, gimp is selected. but in the
> context menu the default action is still set to gqview and if you open
> the file, gqview is used.
>
> i know this shouldn't have anything to do with the viewtype, but it does here.
> libexo is 20498 here.
Ah, got it. That's because GtkTreeView (actually GtkTreeSelection)
doesn't emit "changed" for the selection when one of the selected rows
changes, while ExoIconView does emit "selection-changed" there. The
context menu is only updated when the selection changes, so to update
the context menu in the detailed list view, you'll need to
unselect/select the row (or any other action that causes a "changed"
signal to be emitted on the selection). This could be changed in
GtkTreeView, just file a bug report to Gtk+; on the other hand it's not
really a major issue IMHO.
> björn
Benedikt
More information about the Thunar-dev
mailing list