<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>444239</bug_id>
          
          <creation_ts>2021-10-22 15:59:31 +0000</creation_ts>
          <short_desc>When no apps are found, distinguish in the UI between network failure and misconfiguration</short_desc>
          <delta_ts>2021-12-02 17:32:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>Discover</product>
          <component>discover</component>
          <version>master</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=422432</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>usability</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nate Graham">nate</reporter>
          <assigned_to name="Dan Leinir Turthra Jensen">leinir</assigned_to>
          <cc>aleixpol</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/discover/commit/f935e48de1707348bd9af7ede0c4f26b462805fd</cf_commitlink>
          <cf_versionfixedin>5.24</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2071351</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-10-22 15:59:31 +0000</bug_when>
    <thetext>It is possible for Discover to end up in a situation where it has no app backends present, or no valid repos for any app backends. (for example if the distro ships with only the Flatpak backend, but neglects to add any flatpak repos).

In such a circumstance discover announces that no apps were found and advocates checking the network connection, which is a red herring in this case. It should be intelligent enough to distinguish between &quot;I can&apos;t find apps because I can&apos;t connect to the internet&quot; and &quot;I can&apos;t find apps because there are no valid app repos configured&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082159</commentid>
    <comment_count>1</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2021-12-02 16:04:24 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/215</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082167</commentid>
    <comment_count>2</comment_count>
    <who name="Aleix Pol">aleixpol</who>
    <bug_when>2021-12-02 17:32:12 +0000</bug_when>
    <thetext>Git commit f935e48de1707348bd9af7ede0c4f26b462805fd by Aleix Pol.
Committed on 02/12/2021 at 16:36.
Pushed by ngraham into branch &apos;master&apos;.

Improve error messages when the default source is not behaving

Addresses the weird error message we always get when the default backend
isn&apos;t working as expected.
Allows the backend to explain why instead of wildly guessing from the
frontend.

M  +2    -1    discover/DiscoverDeclarativePlugin.cpp
M  +2    -0    discover/FeaturedModel.cpp
M  +6    -0    discover/FeaturedModel.h
M  +18   -7    discover/qml/BrowsingPage.qml
A  +20   -0    discover/qml/ConvertDiscoverAction.qml     [License: LGPL(v2.0+)]
M  +1    -7    discover/qml/SourcesPage.qml
M  +1    -0    discover/resources.qrc
M  +13   -0    libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
M  +2    -0    libdiscover/backends/FlatpakBackend/FlatpakBackend.h
M  +9    -0    libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
M  +2    -0    libdiscover/backends/PackageKitBackend/PackageKitBackend.h
M  +6    -0    libdiscover/resources/AbstractResourcesBackend.cpp
M  +25   -0    libdiscover/resources/AbstractResourcesBackend.h

https://invent.kde.org/plasma/discover/commit/f935e48de1707348bd9af7ede0c4f26b462805fd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>