sshmenu freezes when draging hosts/submenus
Bug #258075 reported by
Chuck Frain
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
tags: | added: patch-forwarded-upstream |
To post a comment you must log in.
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.