After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641924 - Reorderable property of GtkTreeView does not work on Windows
Reorderable property of GtkTreeView does not work on Windows
Status: RESOLVED DUPLICATE of bug 616544
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.22.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-02-09 12:54 UTC by rodfersou
Modified: 2011-09-19 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glade file (1.25 KB, application/x-glade)
2011-02-09 13:52 UTC, rodfersou
Details
python file (349 bytes, text/x-python)
2011-02-09 13:53 UTC, rodfersou
Details
Simple test in c (421 bytes, text/plain)
2011-02-17 11:29 UTC, Dieter Verfaillie
Details

Description rodfersou 2011-02-09 12:54:43 UTC
The tests I did with this flag just worked into linux. I don't know why, when I try to use drag and drop into windows it is always canceled with the installer pygtk-all-in-one-2.22.6.win32-py2.6.msi but with the installers pygtk-2.16.0+glade.win32-py2.6.exe pygobject-2.20.0.win32-py2.6.exe and pycairo-1.8.6.win32-py2.6.exe it works fine..

I setted this flag with glade, but I think the problem is not with glade..

I tested it with python 2.6.5 version (I don't know if it matters) and with Windows XP OS
Comment 1 rodfersou 2011-02-09 13:52:54 UTC
Created attachment 180463 [details]
glade file
Comment 2 rodfersou 2011-02-09 13:53:16 UTC
Created attachment 180464 [details]
python file
Comment 3 rodfersou 2011-02-09 13:53:51 UTC
I added the files that reproduce the bug at windows (at linux the same code works well)
Comment 4 Dieter Verfaillie 2011-02-17 11:29:00 UTC
Created attachment 181117 [details]
Simple test in c

This simple test in c uses the same glade file (attachment 180463 [details]) and has the
same problem with gtk+-2.22 on windows. I suspect this is a regression in the
win32 GDK backend somewhere...

compile test.c as follows: gcc -Wall -ggdb test.c -o test `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`

For what it's worth, manually handling dnd as shown in http://git.gnome.org/browse/pygtk/tree/examples/gtk/treeview_dnd.py still works fine.
Comment 5 Mikhail Titov 2011-04-14 15:21:58 UTC
I confirm a crash with git version of gtk+ (3.1.2+) while dnd in C example from Dieter Verfaillie.
Comment 6 Dysmas 2011-06-17 16:46:03 UTC
I confirm this bug which affects also iconView. 

About the comment above : 

For what it's worth, manually handling dnd as shown in
http://git.gnome.org/browse/pygtk/tree/examples/gtk/treeview_dnd.py still works
fine.

Yes, it works, because it is using drag_source_set and drag_dest_set.
But code written with enable_model_drag_source and enable_model_drag_dest does  not work (example : treeviewdnd.py, in the examples of the Python-Gtk tutorial). 
I mention it just in case it could help finding the problem.
Comment 7 Dieter Verfaillie 2011-09-19 11:06:13 UTC

*** This bug has been marked as a duplicate of bug 616544 ***