Progress bar hangs at 100% after download is finished, while installing

Bug #1249349 reported by Manuel de la Peña
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
unity-scope-click (Ubuntu)
Invalid
Medium
Unassigned
unity8 (Ubuntu)
Fix Released
Medium
dobey

Bug Description

When a user installs a new click packages the following steps ocurr (internally)

1. Download application.
2. Check the click package checksum
3. Launch click and install the application.

Unfortunately the preview just shows the progress up to the end of step 1. Steps 2 and 3 might take some time and the user will be left with no feed back of what is going on. The u-d-m has bug 1248770 about to be fixed and will make fixing this issue easier. Ideally when the processing signal is raised the progress bar should be set to the indeterminate state (http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/qml-ubuntu-components0-progressbar.html#indeterminate-prop) and a string should show what is going on.

Related branches

Revision history for this message
Mike McCracken (mikemc) wrote :

NOTE: in the cases where an app is being installed when the scope receives a request for a preview for it (ie, when you click install then close the preview, then go back to the preview after a download but before the install is done) -

The scope gets the object path from UDM to send to the preview, so it can be notified when it's done - however if the progress is already at 100%, no progress signal will be sent and the value will appear to be zero.

There appears to be some work to do in the DownloadTracker code so the progress bar can be displayed as indeterminate initially in that case.

Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
assignee: nobody → Diego Sarmentero (diegosarmentero)
importance: Undecided → Medium
status: New → Triaged
Michał Sawicz (saviq)
no longer affects: unity8
Revision history for this message
Albert Astals Cid (aacid) wrote :

Why is this against unity8? Isn't this responsability of unity-scope-click?

Changed in unity8 (Ubuntu):
status: Triaged → Incomplete
assignee: Diego Sarmentero (diegosarmentero) → nobody
Changed in unity-scope-click (Ubuntu):
status: New → Incomplete
status: Incomplete → Confirmed
status: Confirmed → Triaged
importance: Undecided → Medium
dobey (dobey)
summary: - Missing UI information of the installation of click packages after a
- complete download
+ Progress bar hangs at 100% after download is finished, while installing
Revision history for this message
dobey (dobey) wrote :

This belongs against unity8 as it's where the implementation of the widget is, which listens for the dbus signals. The scope has no direct way to control the UI, and may not even be running when the signal is sent.

Changed in unity-scope-click (Ubuntu):
status: Triaged → Invalid
Changed in unity8 (Ubuntu):
status: Incomplete → In Progress
assignee: nobody → Rodney Dawes (dobey)
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.3 KiB)

This bug was fixed in the package unity8 - 8.14+16.10.20160922-0ubuntu1

---------------
unity8 (8.14+16.10.20160922-0ubuntu1) yakkety; urgency=medium

  [ Albert Astals Cid ]
  * LVWPH: update clipItem height when list height changes (LP:
    #1606935)
  * Put the touchdown shape inside a loader
  * No need for the touchdown in the card for the cardtool
  * Add bottom gradient to the Show Less floating button
  * Remove artShapeSize from non cardtool cards
  * LVWPH: Fix case in which header was shown incorrectly
  * LVWPH: Fix items cut on top in the dash (or at least some instances
    of it)
  * Reduce calls to CardCreatorCache.getCardComponent while the
    component is being created (LP: #1615675)
  * Dash::test_cardIconStyle change compare into tryCompareFunction
  * Make PreviewActionsTest::test_comboButton more stable
  * Adapt onShiftedContentXChanged to work when the content changes very
    abruptly
  * Make tryGenericScopeView show the scope correctly
  * Make sure the spinner does not get too close to the title text (LP:
    #1597392)
  * Show "Pull to refresh" in white when overlaid in low luminance
    colors (LP: #1596849)
  * Make test_Shell non ultra slow again (LP: #1597366)
  * Improve findChild calls inside tryCompareFunction.

  [ Andrea Cimitan ]
  * override some Qt Components definitions so we can have sane default
    values for flick speeds
  * Elide the label text inside recent searches panel (LP: #1611796)
  * Add a PreviewSingleton module to store some data for previews (LP:
    #1595235)
  * Use PreviewSingleton for PreviewRatingInput and PreviewCommentInput
    (LP: #1595235)
  * rework GenericScopeView PullToRefresh test
  * use mouseFlick instead touchFlick for manage_dash_move_current
  * add a couple of waiting tricks for a flaky dash test

  [ Daniel d'Andrada ]
  * Set progress bar indeterminate when processing signal received. (LP:
    #1249349)
  * Implement cursor confinement (LP: #1590099)

  [ Josh Arenson ]
  * Add a frontend to the sessions model and enable a session chooser in
    the greeter.

  [ Lukáš Tinkl ]
  * Implement edge maximizing (aka window snapping) (LP: #1602628)
  * On the PC platform (as opposed to running on $devices), use the
    "mute" action instead of silent mode
  * Respect Fitt's law wrt the window control buttons in panel (LP:
    #1611959)
  * Fix 2 failing color-related tests

  [ Marco Trevisan (Treviño) ]
  * Indicators, mocks: add fake indicators menuitem to populate mocks
    with different menu types
  * IndicatorsClient: use PageHeader and ListItemLayout's

  [ Michael Terry ]
  * Support launching apps inside a unity8 session from the greeter and
    support emergency dialing inside the greeter.
  * Fix tryShell to actually show appropriate backgrounds for each mock
    user.
  * Add an indicator to the greeter when a user is logged in (only shown
    if we have more than one user)
  * Hide the greeter OSK if indicators are open and don't show the edge
    tutorial during an emergency call.
  * Switch from lockscreen PIN pad to a passcode entry box that uses the
    OSK.
  * Use the default system wallpaper instead of our custom one.
  * Update look of infographi...

Read more...

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.