! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Moving submenu removes submenu content
Status:
CLOSED: FIXED
Severity:
critical
Product:
Xfce4-menueditor
Component:
General

Comments

Description Nick Schermer editbugs 2006-04-11 13:39:44 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060406 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060406 Firefox/1.6a1

When you create a submenu (with some launchers) and you try to move the entire submenu, the content of the menu is removed.

Reproducible: Always

Steps to Reproduce:
1. Create submenu
2. Put launchers in submenu
3. Add some other stuff around the submenu
4. Move the submenu 
Actual Results:  
Submenu content removed

Expected Results:  
Move the submenu with all it's content.

Gtk 2.8.17, glib 2.10.2. Xfce from SVN (latest)

Maybe some piece of extra code is needed in utils.c, line 751, to move the submenu children.
Comment 1 Jean-François Wauthy editbugs 2006-06-07 19:17:43 CEST
DnD and GtkTreeView is a real pain and still don't master it very well

Anyway i finally found out that there is a simple basic way (i think) of moving rows around using the GtkTreeDragSource and GtkTreeDragDestination interfaces, i'll take a look into this soon
Comment 2 Jean-François Wauthy editbugs 2006-06-10 16:21:10 CEST
should be fixed now (rev 22058)
Comment 3 Nick Schermer editbugs 2006-06-10 21:02:54 CEST
It work fine now with dnd, but the up/down buttons are still not working properly with submenus. Probably something goes wrong in the entry_{up,down}_cb functions, or it's a gtk bug.
Sorry pollux, but i have to reopen this bug again :-(.
Comment 4 Jean-François Wauthy editbugs 2006-06-18 15:59:00 CEST
gtk_tree_store_swap isn't buggy anymore so i removed my (also buggy) workarounds and it's now fixed with revision 22151

Bug #1657

Reported by:
Nick Schermer
Reported on: 2006-04-11
Last modified on: 2009-07-14

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Attachments

Additional information