Bug 363432 - appstream url leaves loading page in page stack
Summary: appstream url leaves loading page in page stack
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.6.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-23 14:43 UTC by Harald Sitter
Modified: 2016-05-24 12:58 UTC (History)
0 users

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


Attachments
gif video (146.52 KB, image/gif)
2016-05-23 14:46 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2016-05-23 14:43:30 UTC
When opening an upstream url
> appstream://org.kde.konsole.desktop
discover displays a 'Loading' page while it is looking for the application. This loading page is left in the page stack after loading has finished, so using the back button brings you back to the loading page.

Reproducible: Always

Steps to Reproduce:
1. open urly
2. wait for loading
3. go back


Expected Results:  
Loading page should not be there.

Instead:
- if discover was open already back should bring you back to what was displayed before
- if it wasn't open before back shouldn't do anything (or bring you to the main page maybe)
Comment 1 Harald Sitter 2016-05-23 14:46:29 UTC
Created attachment 99142 [details]
gif video
Comment 2 Aleix Pol 2016-05-24 12:58:35 UTC
Git commit 5fbf870463df1489792c56d8d5e22a36ab66725b by Aleix Pol.
Committed on 24/05/2016 at 12:50.
Pushed by apol into branch 'master'.

Test going up from explicitly loaded resource

M  +1    -0    discover/autotests/appstreamUrl.qml

http://commits.kde.org/discover/5fbf870463df1489792c56d8d5e22a36ab66725b
Comment 3 Aleix Pol 2016-05-24 12:58:35 UTC
Git commit 70b052a38ff416887364cb2f03bd0a69ab5c33e1 by Aleix Pol.
Committed on 24/05/2016 at 12:48.
Pushed by apol into branch 'Plasma/5.6'.

Restore the initial page after loading is over

M  +12   -3    discover/qml/DiscoverWindow.qml

http://commits.kde.org/discover/70b052a38ff416887364cb2f03bd0a69ab5c33e1