GNOME Bugzilla – Bug 316410
Add a hint for "burn:" location.
Last modified: 2008-12-16 13:56:25 UTC
When inserting a blank CD or DVD you can select "burn a data CD", when nautilus pops up it should have text in the empty window that says "Drag files here to begin creating CD".
I plan to work on this, but wanted to file it hear so it could be tracked and so I could get comments on how best to implement it to get it accepted. This is also known as https://bugzilla.novell.com/show_bug.cgi?id=117207
I'm not sure exactly how to do it. For instance, you don't know what view will be used (icon view vs list view). Maybe the text can appear not in the view, but in the main window, e.g. just above the view.
Alex: Where exactly would that appear? If we're going to implement this, we'll IMHO either have to do it inside the view frame, i.e. a new FMDirectoryView/NautilusView function (_set_empty_tooltip), which would cause a pango layout to be drawn inside the view, or we'd just have to use the statusbar, which unfortunately isn't that discoverable/visible.
I like the idea of setting the string in some nautilus interface and having the view display it. It's not that hard to add the display to a canvas view as you can just add a canvas item. Is the list view a canvas or a TableView?
> Is the list view a canvas or a TableView? It's a GtkTreeView. You should use gdk_draw_layout.
Created attachment 52313 [details] [review] NautilusWindow(Info) implementation of nautilus_window_info_get_current_location_tooltip An implementation of nautilus_window_info_get_current_location_tooltip which can then be queried using fm_directory_view_get_nautilus_window.
Milestoning to 2.14. Alex: We've got many patches on the plate. Would you mind branching Nautilus? :)
The strcmp in the patch lacks a trailing "== 0" btw. However, we can fix that in the cumulative final patch as well.
The OSX finder displays special things like this in a widget area the gets added just above the view, as opposed to in the actual view. This also allows it to add per-folder special widgetry like the "burn" button in burn folders, without relying on adding things to the toolbar. It also works for more than just the case of a string in empty views (for instance, they do their smart folder query editor in the same way). On the other hand, it adds more widgetry, which might look silly in browser mode. But if this isn't overused (i.e. used only in very special cases) I think it could work out pretty nicely. I haven't looked at the nautilus beagle branch, how do they do the smart-folder editor?
Mass changing Nautilus version for bugs that have GNOME 2.13 version info.
*** Bug 508388 has been marked as a duplicate of this bug. ***
Modifying summary, assigning dependencies (see duplicate bug #508388). Also, I think this can be implemented easily now that Nautilus has a stock "hint" widget in the browser (like the one displayed in trash://).
Created attachment 109890 [details] [review] ncb-add-hint.patch Add a little hint in the hint bar.
Created attachment 109893 [details] [review] ncb-add-hint-2.patch Left justify the labels, and add an icon (fixes bug 508386)
Bastien: Thanks for working on this! The approach of displaying the tooltip on the content bar looks fine. I am not sure whether the label "Drag files to write to disc here" is a good idea, though. Some users may suppose that they have to drag the files to the content bar.
(In reply to comment #15) > Bastien: Thanks for working on this! > > The approach of displaying the tooltip on the content bar looks fine. What tooltip? There's already a tooltip on the button, but it's not exactly discoverable. > I am not sure whether the label "Drag files to write to disc here" is a good > idea, though. Some users may suppose that they have to drag the files to the > content bar. Better wording welcome, although I don't think we'd have that many people dropping the files on the bar itself, given that there should be a big empty area below that.
2008-12-16 Bastien Nocera <hadess@hadess.net> * src/nautilus-burn-bar.c (nautilus_burn_bar_init): Add a hint to the clue bar (Closes: #316410)
*** Bug 479994 has been marked as a duplicate of this bug. ***