After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 316410 - Add a hint for "burn:" location.
Add a hint for "burn:" location.
Status: RESOLVED FIXED
Product: nautilus-cd-burner
Classification: Deprecated
Component: burn vfs-method
unspecified
Other All
: Normal normal
: ---
Assigned To: Nautilus CD Burner Maintainers
Nautilus CD Burner Maintainers
: 479994 508388 (view as bug list)
Depends on:
Blocks: 119991
 
 
Reported: 2005-09-15 17:30 UTC by Chris Lahey
Modified: 2008-12-16 13:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
NautilusWindow(Info) implementation of nautilus_window_info_get_current_location_tooltip (4.87 KB, patch)
2005-09-16 14:26 UTC, Christian Neumair
none Details | Review
ncb-add-hint.patch (1.42 KB, patch)
2008-04-25 09:46 UTC, Bastien Nocera
none Details | Review
ncb-add-hint-2.patch (1.77 KB, patch)
2008-04-25 10:35 UTC, Bastien Nocera
committed Details | Review

Description Chris Lahey 2005-09-15 17:30:27 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".
Comment 1 Chris Lahey 2005-09-15 17:31:52 UTC
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
Comment 2 Alexander Larsson 2005-09-16 07:23:54 UTC
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.
Comment 3 Christian Neumair 2005-09-16 07:43:26 UTC
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.
Comment 4 Chris Lahey 2005-09-16 12:51:34 UTC
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?
Comment 5 Christian Neumair 2005-09-16 14:09:02 UTC
> Is the list view a canvas or a TableView?

It's a GtkTreeView. You should use gdk_draw_layout.
Comment 6 Christian Neumair 2005-09-16 14:26:07 UTC
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.
Comment 7 Christian Neumair 2005-09-16 14:27:01 UTC
Milestoning to 2.14. Alex: We've got many patches on the plate. Would you mind
branching Nautilus? :)
Comment 8 Christian Neumair 2005-09-16 14:28:31 UTC
The strcmp in the patch lacks a trailing "== 0" btw. However, we can fix that in
the cumulative final patch as well.
Comment 9 Alexander Larsson 2005-09-16 16:07:57 UTC
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?
Comment 10 Christian Neumair 2005-10-03 12:28:05 UTC
Mass changing Nautilus version for bugs that have GNOME 2.13 version info.
Comment 11 Cosimo Cecchi 2008-01-10 21:04:22 UTC
*** Bug 508388 has been marked as a duplicate of this bug. ***
Comment 12 Cosimo Cecchi 2008-01-10 21:08:04 UTC
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://).
Comment 13 Bastien Nocera 2008-04-25 09:46:02 UTC
Created attachment 109890 [details] [review]
ncb-add-hint.patch

Add a little hint in the hint bar.
Comment 14 Bastien Nocera 2008-04-25 10:35:07 UTC
Created attachment 109893 [details] [review]
ncb-add-hint-2.patch

Left justify the labels, and add an icon (fixes bug 508386)
Comment 15 Christian Neumair 2008-04-25 22:33:21 UTC
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.
Comment 16 Bastien Nocera 2008-04-27 00:14:39 UTC
(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.
Comment 17 Bastien Nocera 2008-12-16 11:05:48 UTC
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)
Comment 18 Bastien Nocera 2008-12-16 13:56:25 UTC
*** Bug 479994 has been marked as a duplicate of this bug. ***