Optionally open in browser the pastebin page where report has been uploaded

Registered by Gabriel M.

Would it be possible to give a possibility to open the BootInfo URL in the browser, instead of having the user copy it from the final dialog box?

One way of doing it would be by passing the URL to the xdg-open command so it opens in the default browser.

Blueprint information

Status:
Complete
Approver:
YannUbuntu
Priority:
Low
Drafter:
Gabriel M.
Direction:
Approved
Assignee:
YannUbuntu
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
YannUbuntu
Completed by
YannUbuntu

Related branches

Sprints

Whiteboard

Thanks Gabriel for this interesting suggestion.
The "standard user" does not need to see the content of the BootInfo report, he just needs to copy/paste the URL into his email or his forum message.
Furthermore: automatically opening the browser would hide the dialog window, and a new user would not understand why the browser opens.
----> Ok, note that for this, I imagine it should be possible to open the browser in the background, like the update-manager does. You don't need this with a button, but if you have an "open browser with report when done" checkbox it would be useful not to pop the browser in the user's face.

So i think this feature should be optional (e.g. we could add a button to open the URL in the browser).

(Your suggestion contains another idea, that I move here: https://blueprints.launchpad.net/boot-repair/+spec/way-to-recover-the-url )

EDIT: currently PolicyKit is not implemented (i need help for this), so that Boot-Repair cannot open the browser in the user (non-root) browser. Need to complete PolicyKit blueprint first.

Currently the final window will display the URL if it has been uploaded on pastebin, OR open in a text viewer if not.
In other words, the user can choose to get the report open in the text viewer by disabling internet when using Boot-Repair.
This partially solves this blueprint in a nicer (IMHO) way.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.