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 537408 - 'Download complete' notification bubble should show "open file" button
'Download complete' notification bubble should show "open file" button
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: Downloads
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on: 618443
Blocks: 627068
 
 
Reported: 2008-06-09 14:04 UTC by Wouter Bolsterlee (uws)
Modified: 2011-03-07 20:43 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
[PATCH] Add open and browse folder to download notification (1.46 KB, patch)
2008-09-03 20:13 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
[PATCH] Add open and browse folder to download notification (1.62 KB, patch)
2008-09-27 00:43 UTC, Diego Escalante Urrelo (not reading bugmail)
needs-work Details | Review

Description Wouter Bolsterlee (uws) 2008-06-09 14:04:02 UTC
The summary says it all. Perhaps both a "open file" and "open folder" on the bubble would be even better.
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2008-09-03 20:13:24 UTC
Created attachment 117956 [details] [review]
[PATCH] Add open and browse folder to download notification


The notification bubble on completed downloads now has two action buttons to
open the downloaded file and to browse to the containing folder,
closes: #537408.
---
 embed/downloader-view.c |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)
Comment 2 Diego Escalante Urrelo (not reading bugmail) 2008-09-07 17:05:41 UTC
I'm missing a clear_actions() before adding the new ones, otherwise I can get to cases where the notification has 4 buttons or more.
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2008-09-27 00:43:28 UTC
Created attachment 119461 [details] [review]
[PATCH] Add open and browse folder to download notification


The notification bubble on completed downloads now has two action buttons to
open the downloaded file and to browse to the containing folder,
closes: #537408.
---
 embed/downloader-view.c |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2008-09-27 00:43:51 UTC
Updated. This one is ready for review.
Comment 5 Christian Persch 2008-09-29 17:11:51 UTC
Well, before I review the patch there's a little matter to consider: what's the target of this patch? Obviously trunk, but ephy/webkit has not download support at all. And gnome-2-24 is feature frozen. Do you want to open a gnome-2-26-gecko branch for this?
Comment 6 Christian Persch 2008-09-29 17:58:39 UTC
+		g_app_info_launch_default_for_uri (uri, NULL, NULL);

If we had a timestamp from the click, we would use a gdkapplaunchcontext here. Sucks that libnotify doesn't give the timestamp to us :(

+		/* Clear previous actions before adding new ones to avoid
+		 * duplicate buttons in the popup
+		 */

If say download 1 finished, has notify popup shown. Now download 2 finishes too. Do we show 2 popups? One popup? Should we show "Show file*s*" button, or "Show file 1" + "Show file 2" ? 

Apart from this question the patch looks good to me.
Comment 7 Reinout van Schouwen 2009-01-04 16:15:12 UTC
diegoe: ping?
Comment 8 Diego Escalante Urrelo (not reading bugmail) 2009-01-04 18:49:24 UTC
I still have some bugs with this, but still interested... if you think it's a good idea I can finish it for this cycle.
Comment 9 Reinout van Schouwen 2009-01-04 22:09:22 UTC
(In reply to comment #8)
> if you think it's a
> good idea I can finish it for this cycle.

Well, I'm not really sure. I seem to remember a discussion (usability list maybe?) where people thought buttons on notification bubbles were bad. As far as I'm concerned this isn't the most important issue -- I just wanted to make sure the patch wasn't forgotten about.

Comment 10 Wouter Bolsterlee (uws) 2010-01-02 17:20:54 UTC
...ping? :)
Comment 11 Diego Escalante Urrelo (not reading bugmail) 2011-03-07 20:43:28 UTC
The just committed bug #618443 (new downloads UI) makes this bug(s) obsolete.