<?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>494781</bug_id>
          
          <creation_ts>2024-10-14 22:44:32 +0000</creation_ts>
          <short_desc>No progress on &quot;tasks&quot; section while downloading Flatpak runtimes</short_desc>
          <delta_ts>2024-11-18 07:50:26 +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>Flatpak Backend</component>
          <version>master</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Justin Zobel">justin</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>4wy78uwh</cc>
    
    <cc>aleixpol</cc>
    
    <cc>jgrulich</cc>
    
    <cc>kdedev</cc>
    
    <cc>leoszen</cc>
    
    <cc>nate</cc>
    
    <cc>travier</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/discover/-/commit/cda3796c5420b20d5aaa9b3502b9417c0b6e5a84</cf_commitlink>
          <cf_versionfixedin>6.3.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2365924</commentid>
    <comment_count>0</comment_count>
    <who name="Justin Zobel">justin</who>
    <bug_when>2024-10-14 22:44:32 +0000</bug_when>
    <thetext>SUMMARY
When downloading a flatpak app, the dependencies are not taken into account on the progress bar. This shows no activity at all while dependencies e.g. runtimes are installed.


STEPS TO REPRODUCE
1. Have no flatpaks installed
2. Use Discover to install kalk

OBSERVED RESULT
Tasks view shows no activity, no progress, no download speed while dependency is downloading. See system monitor to confirm downloads are happening via network usage.

EXPECTED RESULT
Dependencies are included in progress, speed shown. Alternatively, just say downloading dependencies until a full solution can be implemented.

SOFTWARE/OS VERSIONS
Operating System: KDE Linux a3f76e06
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.3
Kernel Version: 6.11.3-arch1-1 (64-bit)
Graphics Platform: offscreen
Processors: 8 x Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
Memory: 7.5 GiB of RAM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2366185</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-10-15 22:55:29 +0000</bug_when>
    <thetext>Can reproduce with current git master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2373566</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-11-12 08:27:52 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/970</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2374694</commentid>
    <comment_count>3</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2024-11-15 13:36:42 +0000</bug_when>
    <thetext>Git commit cda3796c5420b20d5aaa9b3502b9417c0b6e5a84 by Harald Sitter.
Committed on 15/11/2024 at 13:30.
Pushed by sitter into branch &apos;master&apos;.

flatpak: try to tie runtimes to an app ref

this should allow status reporting to work correctly even though we
otherwise ignore runtimes. essentially we try to establish a mapping
from runtime to app ref and then treat the runtime as part of the app
transaction.

M  +44   -9    libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp
M  +6    -1    libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.h

https://invent.kde.org/plasma/discover/-/commit/cda3796c5420b20d5aaa9b3502b9417c0b6e5a84</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2375229</commentid>
    <comment_count>4</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2024-11-18 07:50:26 +0000</bug_when>
    <thetext>*** Bug 496342 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>