Bug 17857

Summary: Device lists gets longer and longer on each "refresh"
Product: Mageia Reporter: Hartmut Goebel <h.goebel>
Component: RPM PackagesAssignee: papoteur <yvesbrungard>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal CC: geiger.david68210
Version: 5Keywords: Junior_job
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: isodumper-0.44-1.mga5.src.rpm CVE:
Status comment:

Description Hartmut Goebel 2016-03-01 16:07:36 CET
On each "refesh" in isodumper, the list of devices bec
ome longer. The current entries are added to the list, but the old entries are not removed.

Reproduce:
1. Make sure to have at least one USB device isodumper recognises plugged in.
2. Start isodumper
3. Drop down the list of devices. You will see some devices (or at least the one
   you plugged in in step 1) listed
4. Press the refesh button.
5. Drop down the list of devices again. You will see all the devices listed
   *twice*

Repeating step 4 and 5 will show the list became even longer.

Proposed solution:
- On "Refresh" clear all entries from this list.
Hartmut Goebel 2016-03-01 16:07:47 CET

Keywords: (none) => Junior_job

Rémi Verschelde 2016-03-01 16:30:12 CET

CC: (none) => geiger.david68210
Assignee: bugsquad => yves.brungard_mageia

Comment 1 papoteur 2016-03-02 07:21:56 CET
Hello Hartmut,
Sorry, I don't see this problem. At each refresh, I have only one entry.
This need more investigations.
Comment 2 papoteur 2016-03-02 10:57:03 CET
Ok, seen it, with more than one device.
Comment 3 Mageia Robot 2016-03-03 07:17:30 CET
commit ac758433a205686b4481a2c1a9255fb8de6fd2cd
Author: Papoteur <papoteur@...>
Date:   Thu Mar 3 07:16:00 2016 +0100

    Refresh the list will nor add more than needed entries (mga#17857)
---
 Commit Link:
   http://gitweb.mageia.org/software/isodumper/commit/?id=ac758433a205686b4481a2c1a9255fb8de6fd2cd
Comment 4 Hartmut Goebel 2016-03-06 18:49:17 CET
Thanks for fixing that quick :-)
papoteur 2016-03-06 19:16:29 CET

Summary: Device lists gets longer and longer on each "refesh" => Device lists gets longer and longer on each "refresh"

Comment 5 papoteur 2016-03-06 19:17:22 CET
Thanks for you reports and patches.
This helps to get a better Isodumper.
Comment 6 papoteur 2016-07-23 09:48:08 CEST
See comment 3

Status: NEW => RESOLVED
Resolution: (none) => FIXED