Bug 448502

Summary: Opening system settings makes the main content go back to featured
Product: [Applications] Discover Reporter: Sam Dinner <samdinner>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, bugseforuns
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A recording of the bug occurring.

Description Sam Dinner 2022-01-15 01:13:24 UTC
Created attachment 145479 [details]
A recording of the bug occurring.

SUMMARY
Opening system settings will make the main content of Discover return back to featured.

STEPS TO REPRODUCE
1. Select a category in the sidebar.
2. Open system settings.

OBSERVED RESULT
The main content goes back to featured.

EXPECTED RESULT
The main content should stay where it was.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 21.10 
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Discover: 5.22.5

ADDITIONAL INFORMATION
I can't make this bug happen when selecting an app listed in featured instead of a category.
Comment 1 Patrick Silva 2022-01-15 02:48:49 UTC

*** This bug has been marked as a duplicate of bug 423493 ***
Comment 2 Aleix Pol 2022-01-17 18:30:19 UTC
Similar but not entirely the same.
Comment 3 Bug Janitor Service 2022-01-17 18:31:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/227
Comment 4 Aleix Pol 2022-01-18 01:42:05 UTC
Git commit 72706124ce0010e76799bafca1facfa6d484e69a by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 18/01/2022 at 01:39.
Pushed by apol into branch 'master'.

Do not register a unique application when we call with --feedback

This way it will not affect running instances.

M  +25   -24   discover/main.cpp

https://invent.kde.org/plasma/discover/commit/72706124ce0010e76799bafca1facfa6d484e69a
Comment 5 Aleix Pol 2022-01-18 01:42:55 UTC
Git commit aa13609167f9523b901db273c0662e024745d1ff by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 18/01/2022 at 01:42.
Pushed by apol into branch 'Plasma/5.24'.

Do not register a unique application when we call with --feedback

This way it will not affect running instances.


(cherry picked from commit 72706124ce0010e76799bafca1facfa6d484e69a)

M  +25   -24   discover/main.cpp

https://invent.kde.org/plasma/discover/commit/aa13609167f9523b901db273c0662e024745d1ff