sshmenu freezes when draging hosts/submenus

Bug #258075 reported by Chuck Frain
6
Affects Status Importance Assigned to Milestone
sshmenu
Unknown
Unknown
sshmenu (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: sshmenu

When organizing my hosts and submenus in sshmenu I discovered that whenever I moved an item to the left the application would lock up. I let it run for 2-3 minutes and the app just sat there. If I force it to quit and restart whatever changes I made have disappeared.

I started it from the command line but did not get any useful output. I'm running Ubuntu 8.04.1 with all the current patches. The sshmenu info is as follows:

sshmenu:
  Installed: 3.15-1
  Candidate: 3.15-1
  Version table:
 *** 3.15-1 0

Revision history for this message
GrantMcLean (grant-mclean) wrote :

The problem seems to occur when you reorder items using drag-n-drop and drop an item on top of itself. When this happens the program goes into a loop and starts eating memory. It appears that the looping is happening in the GTK or Ruby binding layer rather than SSHMenu itself but I might be mistaken about that (and even if that is the case it might be SSHMenu code that's causing it).

I've never been very happy with the drag-n-drop code and it doesn't provide any functionality that can't be achieved using the "Up" and "Down" buttons. The attached patch disabled drag-n-drop which is probably safer as long as this bug exists.

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

Thank you for reporting and thank you for writing the patch,
I hereby confirm this bug. I can reproduce it by dragging an item onto itself.

Changed in sshmenu:
status: New → Confirmed
Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

reported upstream to sshmenu

Revision history for this message
Brian Murray (brian-murray) wrote :

Looking at the attachments in this bug report, I noticed that "Patch to disable drag-n-drop" was not flagged as a patch. A patch contains changes to an Ubuntu package that will resolve a bug and this attachment is one! Subsequently, I've checked the patch flag for it. In the future when submitting patches please use the patch checkbox as there are some Launchpad searches that use this feature. Thanks for your contribution GrantMcLean!

David Futcher (bobbo)
tags: added: patch-forwarded-upstream
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.