Bug 342390

Summary: Not always possible to unmark a package action
Product: [Unmaintained] muon Reporter: Twisted Lucidity <lucidlytwisted>
Component: muonAssignee: Jonathan Thomas <echidnaman>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, sitter, stasnel
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Twisted Lucidity 2015-01-01 15:24:21 UTC
If a package has been marked for reinstall using the workaround in bug 342389, then selecting "Unmark" has no effect

Reproducible: Always

Steps to Reproduce:
1. Open muon
2. Select any two installed packages
3. Right-click
4. Mark them for reinstallation
5. Right-click
6. Unmark

Actual Results:  
Nothing happens

Expected Results:  
Packages become unmarked

Some operations do work. Install/Unmark, for example, is OK.
Comment 1 Carlo Vanini 2016-04-15 19:16:30 UTC
Git commit 6db42277651409eeb92fa4f67c64f85434db387e by Carlo Vanini.
Committed on 15/04/2016 at 17:30.
Pushed by vanini into branch 'master'.

Fix "ReInstall" action not being enabled.

Fix mark/Unmark for ReInstall of a package.

Testing Done:
* select an installed package
* mark for re-install
* mark for keep or click Undo
Related: bug 342389
REVIEW: 127545

M  +5    -1    src/backend.cpp
M  +4    -1    src/package.cpp

http://commits.kde.org/libqapt/6db42277651409eeb92fa4f67c64f85434db387e