Closing the "Add Dialog" Replicates Command List
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CLI Companion |
Fix Released
|
Medium
|
CLI Companion Development Team | ||
1.0 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Closing the "Add Command Dialog" window causes the list of previously added commands to be replicated (see attached screenshot).
When this window is closed without adding a command or description a blank entry is inserted into the ~/.clicompanion file.
If a command is entered and then the dialog window is closed this too is added to the ~/.clicompanion file.
From the perspective of HIG usability this dialog window requires a "Cancel" button which when clicked should close this dialog window without actually adding to the database.
Here's the ~/.clicompanion file after carrying the above actions;
sudo dmidecode -t baseboard : : Display Motherboard Information
sudo dmidecode -t bios : : Display BIOS Information
lsb_release -a : : Display Linux Distro
uname -v : : Display Kernel Version
: : <----- this was inserted when the dialog was closed without any command added.
ls : : <--- this was inserted when the command was added but then dialog was closed.
Related branches
- Duane Hinnen: Approve
-
Diff: 76 lines (+26/-15)2 files modified.clicompanion (+11/-11)
clicompanion.0.0.7.py (+15/-4)
Changed in clicompanion: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → CLIcompanion Development Team (clicompanion-devs) |
Changed in clicompanion: | |
status: | Triaged → Fix Committed |
Changed in clicompanion: | |
importance: | High → Medium |
Changed in clicompanion: | |
status: | Fix Committed → Fix Released |
Thanks :)