Bug 401859

Summary: No error notification when adding same flatpak repo
Product: [Applications] Discover Reporter: Alexander Mentyu <notuxius>
Component: Flatpak BackendAssignee: Aleix Pol <aleixpol>
Status: CONFIRMED ---    
Severity: minor CC: bugseforuns, jgrulich, nate
Priority: NOR    
Version: 5.14.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexander Mentyu 2018-12-07 12:42:29 UTC
STEPS TO REPRODUCE
1. Open Discover.
2. Select 'Sources' page.
3. Add flatpak repo - for example
https://firefox-flatpak.mojefedora.cz/org.mozilla.FirefoxRepo.flatpakrepo
4. Add same flatpak repo - https://firefox-flatpak.mojefedora.cz/org.mozilla.FirefoxRepo.flatpakrepo

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Popup message with text that the flatpak repo was already added

SOFTWARE/OS VERSIONS
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.14.80
KDE Frameworks Version: 5.53.0
Qt Version: 5.11.2
Kernel Version: 4.15.0-42-generic
Comment 1 Nate Graham 2018-12-08 04:33:24 UTC
Yeah, this isn't ideal.

We can probably use one of the dreaded passiveNotifications for this. :)