Closed artyomszasa closed 10 years ago
What were you drag and dropping?
.fs files to change the build order.
Additionally just found out, that drag'n'drop reordering works (at least for few cases now) if all involved files are opened.
I also experience a native crash when drag'n'droping files to change the build order, but I'm not sure I get the same backtrace as you. BTW what platform are you on? I'm on Linux 64bits (Ubuntu 13.04). This is important to note because this might be actually a gtk+ bug. Also I think I've reproduced it as well with the C# binding, so this issue might not definitely belong here.
Ubuntu 13.10 (x64) here.
Given that @7sharp9 seems surprised about this bug, I guess that it's not affecting Mac.
I don't get it on osx with XS 4.3.0. Moving the fs nodes uses the same monodevelop internals, so seeing this in the C# binding seems to confirm it might be gtk related.
On 11 Jan 2014, at 17:34, "Andres G. Aragoneses" notifications@github.com wrote:
Given that @7sharp9 seems surprised about this bug, I guess that it's not affecting Mac.
— Reply to this email directly or view it on GitHub.
Actually I just tested with latest master with the C# binding and the bug is not there anymore. So maybe they added recently a workaround for it in the managed C# binding...
I say a 'workaround' instead of a fix, because this still smells gtk related. This is the trace I get in my case:
Gtk:ERROR:/build/buildd/gtk+2.0-2.24.17/gtk/gtkselection.c:3174:gtk_selection_bytes_per_item: code should not be reached
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <IL 0x0000e, 0xffffffff>
at Gtk.Application.Run () <IL 0x00000, 0x0001f>
at MonoDevelop.Ide.IdeApp.Run () [0x00000] in /home/knocte/Documents/Code/OpenSource/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:387
at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) [0x007c0] in /home/knocte/Documents/Code/OpenSource/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:291
at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x00086] in /home/knocte/Documents/Code/OpenSource/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:575
at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) [0x00000] in /home/knocte/Documents/Code/OpenSource/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:17
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>
I'll try to reproduce it in Ubuntu 13.10 or 14.04-beta.
Is this an upstream problem then?
Does this still occur anywhere?
I just tested this again with latest Ubuntu trusty and: a) Good news: doesn't crash anymore. b) Bad news: drag and drop files to be able to move them up or down doesn't work anymore.
Its not something that would be fixed here unless unless the code that is used is causing some anomalous behaviour in linux: FSharpProjectFileNodeExtension
But why was it working 2 months ago and not now? Any changes in that area recently?
There was a bug fix relating to node comparisons mid Jan, but nothing gtk related.
Could the node comparison affect the DragNDrop functionality? If yes can you point me to the exact commit so I can try with that commit reverted?
Maybe, it works on Windows and Mac though: https://github.com/fsharp/fsharpbinding/commit/0687e3bf18cdf7aa612245b3f4ad0dd0b5a33ebe
I'm closing this issue now, since the original problem appears to have gone @knocte please open a new issue if you have a new consistent repro, thx
It's fully reproductable.
My system: mono 3.2.7 (git) MonoDevelop 4.2.3 (git) FSharpBinding 3.2.22 (git)
Latest (git) GTK#, Gnome#, fsharp (3.0)..
Stack trace:
I can also attach full gdb dump if needed.