Bug 472940 - Need to warn users of problematic updates
Summary: Need to warn users of problematic updates
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 10
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-25 18:33 UTC by Alex Hudson (Fedora Address)
Modified: 2009-01-14 13:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-14 13:29:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alex Hudson (Fedora Address) 2008-11-25 18:33:38 UTC
Description of problem:

Some software doesn't like being updated while it's running: canonical examples for me are Firefox and Thunderbird (for probably the same technical reason), when with reasonable frequency updating to a newer version causes any existing running process to behave badly, for some new exciting type of "badly" each time - Firefox likes opening windows with no content, Tbird just lost a mail I was composing. I've also had similar issues with OOo, and something else I forgot - I imagine any app with plug-ins, or that calls out external apps, lazily loads dlls, etc. etc., is potentially in this category.

I realise that problem isn't a PackageKit bug per se. However, it would be nice to have some way in the UI to mitigate this issue - although I think it's clear that PK cannot solve this alone.

What I would like, as a user, is some kind of warning that some of my apps might go haywire if I'm running the update while they're open. What would be absolutely superb would be some way of having PK shut the app down, update it, and re-open it in previous state - though almost certainly quite difficult to accomplish.

Although more pop-up warnings aren't exactly wonderful, I would much prefer a dialog saying something like "I'm about to update Tbird. Because you have it open already, you need to shut it down before I start, otherwise you risk losing data".

Presumably this would need some kind of input from the packaging community about exactly what kind of data a package could provide to communicate this - a good start would just be a simple flag which says "I'm troublesome" and then PackageKit giving me a list of troublesome apps before updating (if there are any). Everything else would be extra gravy tbh.

Comment 1 Richard Hughes 2009-01-14 13:29:23 UTC
commit 6cddc916fec235aa4e722ef685c5320230b80b06
Author: Richard Hughes <richard>
Date:   Wed Oct 15 08:23:07 2008 +0100

    feature: add functionality to check for files being used that have been updated, and send a session restart required signal

:100644 100644 d206d43... 291f934... M	etc/PackageKit.conf.in
:100644 100644 d831734... ce94a1d... M	src/pk-post-trans.c
:100644 100644 de716e5... 3d1ff2a... M	src/pk-post-trans.h
:100644 100644 0b249c7... 4bb2ad4... M	src/pk-transaction.c


Note You need to log in before you can comment on or make changes to this bug.