[Xfce-bugs] [Bug 16799] Focus of tree view selection should return to visible folder when ejecting drive

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu May 7 23:32:48 CEST 2020


--- Comment #6 from alexxcons <alexxcons at xfce.org> ---
(In reply to Theo Linkspfeifer from comment #5)
> Created attachment 9842 [details]
> quick diff
> The attached diff extends the existing code so that the selection returns
> after closing the context menu.

Only 12 hours, Theo that really is Impressive :)

Though I would not always use that fallback on right-click .. that somehow
feels wrong to me.
 I would rather search for the piece of code which does the "focus next item"
after eject and replace it with "obtain current folder and focus it".
Possibly via  "thunar_navigator_get_current_directory", or ideally via some
internal fallback, to even get the same tree-node than before.

You are receiving this mail because:
You are the assignee for the bug.

More information about the Xfce-bugs mailing list