Bug 357387 - can't use specific homepage for browser-widget
Summary: can't use specific homepage for browser-widget
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Web Browser (show other bugs)
Version: 5.5.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-01 12:45 UTC by Justin T. Frisch
Modified: 2016-06-03 16:14 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin T. Frisch 2016-01-01 12:45:09 UTC
the kde4 browser widget would remember the last visited website url and on the next login, go back to that address. there was also a bookmark functionality.
the new kde5 widget always goes to www.kde.org and there is no way to change this default address, the bookmark functions havn't been ported either.


Reproducible: Always

Steps to Reproduce:
1. add a browser widget to the desktop
2. visit any website
3. logout and log back in


Actual Results:  
the browser widget shows www.kde.org again


Expected Results:  
it should show the website you last went to


or offer a configuration option to set the default homepage url.

the grave severity is exclusive to the browser widget because it is basically useless without being able to a specify a homepage.
Comment 1 Justin T. Frisch 2016-01-01 12:59:31 UTC
in /usr/share/plasma/plasmoids/org.kde.plasma.webbrowser/contents/ui/main.qml
there is 

ColumnLayout {
    RowLayout{...
    PlasmaExtras.ScrollArea {...
        WebView {...
            url: "http://kde.org";

which can be changed to an arbitrary address. however, it's not possible to have multiple browser widgets pointing to different home pages either, then
Comment 2 David Edmundson 2016-01-01 15:16:23 UTC
yeah, it needs to read/write to Plasma.configuration


If you've found that, maybe it's something you'd like to look into fixing?
Comment 3 Mikhail Ivchenko 2016-01-01 15:22:47 UTC
Hello,

I'll try to add "Default URL" option to config dialog if it's OK for everyone. :)

Best regards,
Mikhail Ivchenko.
Comment 4 Kai Uwe Broulik 2016-01-01 15:25:47 UTC
I think easiest would be to store the current Url in plasma.configuration in component on destroyed and use that Url as start. You can also specify a default for an empty config option which would be kde.org
Comment 5 Mikhail Ivchenko 2016-01-01 16:32:13 UTC
Posted a RR: https://git.reviewboard.kde.org/r/126590/
Comment 6 Michael Mol 2016-06-03 13:25:38 UTC
This seems to be fixed in 5.6; I have three browser widgets that always remember the last page I browsed to.
Comment 7 Dominik Haumann 2016-06-03 16:14:25 UTC
Given this seems fixed according to Michael, and also the review request for this was submitted (see https://git.reviewboard.kde.org/r/126590/), I think we can safely close this report.

If you encounter any issues again, please either reopen this one, or make a new bug report.