Bug 435607 - Switching source on Applications page sometimes makes Sources menu disappear, so you can't switch back
Summary: Switching source on Applications page sometimes makes Sources menu disappear,...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.21.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-11 10:42 UTC by Felipe Kinoshita
Modified: 2023-01-12 17:48 UTC (History)
2 users (show)

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


Attachments
video showing observed result (2.64 MB, video/webm)
2021-04-11 10:42 UTC, Felipe Kinoshita
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Kinoshita 2021-04-11 10:42:36 UTC
Created attachment 137503 [details]
video showing observed result

If you go to an app page (native package), on the toolbar there's "[Install] [Sources]" but if you select flatpak from that drop-down menu or if you entered the app page already as a flatpak you're unable to change sources.

But some apps can change source from flatpak to native package (attached video)

STEPS TO REPRODUCE
1. go to an app page (native package)
2. change sources to flatpak

1. go to an app page (flatpak package)

OBSERVED RESULT
Unable to change package source to native package.

EXPECTED RESULT
Should be able to change package source.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Not sure if it happens with snaps since I'm not using them.
Comment 1 Nate Graham 2021-04-13 15:20:54 UTC
This is actually an odd problem specific to the Godot Engine package on openSUSE Tumbleweed: Bug 433463.

*** This bug has been marked as a duplicate of bug 433463 ***
Comment 2 Felipe Kinoshita 2021-04-13 18:20:28 UTC
But the problem I'm talking about is Discover not being able to switch from flatpak page to native package page, it has nothing to do with the Godot bug.
Comment 3 Nate Graham 2021-04-13 18:33:43 UTC
I can reproduce the bug only for Godot Engine, and that's the app that your video shows as well. Are you able to reproduce the issue with other apps?
Comment 4 Felipe Kinoshita 2021-04-13 18:51:28 UTC
The bug I'm talking about is about no being able to switch from the flatpak page to native package page on some apps, I've only showed Godot because it's not affected by this bug apparently (Sorry if that's confusing)

e.g if you go to the "SpeedCrunch" page, you can change it's source to flatpak, but then the '[Source]' dropdown menu is not available on the flatpak page, some apps do allow me to switch back to the native package but some don't.

Some apps don't even show the '[Source]' dropdown menu even though they both are available on the list.
Comment 5 Nate Graham 2021-04-13 20:15:09 UTC
Oh I see. This is different indeed. I can reproduce with SpeedCrunch. As soon as I switch the source from Tumbleweed to Flatpak, the Sources menu disappears!
Comment 6 Nate Graham 2023-01-12 17:48:34 UTC
This was fixed a while ago. Works for SpeedCrunch now.