Hitting delete key while focus in search box triggers deletion of note
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomboy |
Fix Released
|
Medium
|
|||
tomboy (Ubuntu) |
Fix Released
|
Low
|
Abhinav Upadhyay |
Bug Description
Binary package hint: tomboy
I came across this problem today:
I searched for a particular note by typing in the search box, some notes displayed in the search results. I opened one of the notes and closed it after reading. Now I wanted to search something else, so I had to clear the text box. Unknowingly I used Ctrl+A and Delete key to clear the text (rather than using the clear text button available in Tomboy UI) .
What should have happened: The search box should have cleared.
What happened instead: A message box popped up, asking me if I am sure I want to delete the selected note ?
p.s.: Using Ctrl+A and backspace clears the text box as expected.
You don't need to select text and then hit the delete key to reproduce this bug. Even if you select one of the notes in the right pane, and then move the keyboard focus to the search drop down box, and then hit Delete, you will face this problem.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: tomboy 1.4.2-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.35-28-generic i686
NonfreeKernelMo
Architecture: i386
Date: Mon Apr 11 20:21:39 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
LANG=en_IN
SHELL=/bin/bash
SourcePackage: tomboy
Related branches
- Martin Pitt: Approve
- Stefan Bader (community): Approve
-
Diff: 83 lines (+57/-0) (has conflicts)3 files modifieddebian/changelog (+13/-0)
debian/patches/31_prevent_inadvertent_deletion_of_notes.patch (+43/-0)
debian/patches/series (+1/-0)
Changed in tomboy (Ubuntu): | |
status: | New → Confirmed |
Changed in tomboy: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in tomboy (Ubuntu): | |
assignee: | nobody → Abhinav Upadhyay (er-abhinav-upadhyay) |
Changed in tomboy (Ubuntu): | |
status: | Confirmed → In Progress |
summary: |
- Selecting all text in search box and hitting Delete key triggers the - deletion of note + Hitting delete key while focus in search box triggers deletion of note |
description: | updated |
Changed in tomboy (Ubuntu): | |
importance: | Undecided → Low |
Changed in tomboy: | |
status: | Confirmed → In Progress |
Changed in tomboy: | |
status: | In Progress → Fix Released |
Attached is a fix for this problem. The bug is confirmed by tomboy developers (upstream). I have also sent the patch upstream and it is due to be reviewed by them.
Thanks