Hey, my first post to this mailing list.
Hello World! :)
Back to topic: The split window plugin behaves very weird on my machine. The changelog reads that it should be at least usable for viewing, but it isn't.
Since words doesn't explain as much as pictures, I've made a screenshot: http://www.alice-dsl.net/simonemartitz/asdf/GeanySwBug.jpg
Note that I'm running Windows XP 64bit and quite recent GTK+/GLib versions. PS: The last time I tried split window on linux (before 0.15), it wasn't that messed up. So it's probably either specific to windows or specific to my GTK+/GLib versions. PS2: Sorry, that it's all in German, I've yet to find a way to switch it to English.
Regards, kugel.
This is the output of the debug messages: 17:34:01: WARNING : Passing a non-NULL package to g_win32_get_package_installation_directory() is deprecated and will not work in GLib after 2.18. 17:34:01: WARNING : Passing a non-NULL package to g_win32_get_package_installation_directory() is deprecated and will not work in GLib after 2.18. 17:34:01: INFO : Geany 0.15, GTK+ 2.14.3, GLib 2.18.1 17:34:01: INFO : Initializing plugin 'Dateibrowser' 17:34:01: INFO : Loaded: C:\Program Files (x86)\Geany\lib\filebrowser.dll (Dateibrowser) 17:34:01: INFO : Initializing plugin 'Fenster teilen' 17:34:01: INFO : Loaded: C:\Program Files (x86)\Geany\lib\splitwindow.dll (Fenster teilen) 17:34:01: INFO : C:\Documents and Settings\kugel\Desktop\EinAusgabe2.c : C (UTF-8) 17:34:01: INFO : C:\Documents and Settings\kugel\Desktop\geany_run_script.bat : None (UTF-8) 17:34:53: INFO : Error: page_num: -1 17:34:53: INFO : Error: page_num: -1 17:34:58: INFO : C:\Program Files (x86)\Geany\Authors.txt : None (UTF-8)
And of the status window: 17:34:01: Willkommen zu Geany 0.15. 17:34:01: Datei C:\Documents and Settings\kugel\Desktop\EinAusgabe2.c geöffnet (1). 17:34:01: Datei C:\Documents and Settings\kugel\Desktop\geany_run_script.bat geöffnet (2). 17:34:49: Datei C:\Documents and Settings\kugel\Desktop\geany_run_script.bat wurde geschlossen. 17:34:50: Datei C:\Documents and Settings\kugel\Desktop\EinAusgabe2.c wurde geschlossen. 17:34:58: Datei C:\Program Files (x86)\Geany\Authors.txt geöffnet (1). 17:35:01: Neue Datei "unbenannt" geöffnet. 17:35:02: Neue Datei "unbenannt" geöffnet. 17:35:02: Neue Datei "unbenannt" geöffnet.
On Fri, 24 Oct 2008 17:57:10 +0200, Thomas Martitz thomas47@arcor.de wrote:
Hi Thomas,
sorry for the delay.
Back to topic: The split window plugin behaves very weird on my machine. The changelog reads that it should be at least usable for viewing, but it isn't.
Since words doesn't explain as much as pictures, I've made a screenshot: http://www.alice-dsl.net/simonemartitz/asdf/GeanySwBug.jpg
Unfortunately, I can reproduce this and it's really weird.
It seems there is a bug in GTK with widget reparenting on Windows, not sure though. I tried to fix that and it seems to be working now in SVN r3161. I uploaded an updated DLL for the plugin: http://www.uvena.de/tmp/splitwindow.dll
But please note, this strange extra window still happens on unsplitting, currently I have no idea how to fix this and I don't have the time to spend hours of testing, sorry.
Maybe Nick has an idea.
Btw Nick, did you report the Scintilla issue noted in the comments in the code?
Regards, Enrico
On Wed, 29 Oct 2008 21:58:55 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
On Fri, 24 Oct 2008 17:57:10 +0200, Thomas Martitz thomas47@arcor.de wrote:
Hi Thomas,
sorry for the delay.
Back to topic: The split window plugin behaves very weird on my machine. The changelog reads that it should be at least usable for viewing, but it isn't.
Since words doesn't explain as much as pictures, I've made a screenshot: http://www.alice-dsl.net/simonemartitz/asdf/GeanySwBug.jpg
Unfortunately, I can reproduce this and it's really weird.
It seems there is a bug in GTK with widget reparenting on Windows, not sure though. I tried to fix that and it seems to be working now in SVN r3161. I uploaded an updated DLL for the plugin:
Forget this. I didn't fix it but only broke it in another way :(. This way the splitting was working on Windows but it brought back the old bugs with broken primary selection (might be not that bad on Windows but still) and wrong mouse cursor on Windows. I currently have no idea how to fix this properly. I think there are two possibilities: - fix Scintilla so that widgets can be reparented - find out what is causing this weird behaviour on Windows and ideally fix it
Both possibiliies would require at a first step reporting the problems to Scintilla resp. GTK. In the meantime I'd suggest to not use the plugin on Windows. Yes, yet another limitation for Windows, patches are welcome.
Deleted.
Regards, Enrico
Enrico Tröger schrieb:
possibilities:
- fix Scintilla so that widgets can be reparented
- find out what is causing this weird behaviour on Windows and ideally
fix it
Maybe you could have a look at notepad++'s implementation of split windows. It doesn't use gtk (but the windows api), but it uses scintilla, which makes me think it's not necessarily a scintilla issue.
On Thu, 30 Oct 2008 17:35:22 +0100, Thomas Martitz thomas47@arcor.de wrote:
Enrico Tröger schrieb:
possibilities:
- fix Scintilla so that widgets can be reparented
- find out what is causing this weird behaviour on Windows and
ideally fix it
Maybe you could have a look at notepad++'s implementation of split windows. It doesn't use gtk (but the windows api), but it uses scintilla, which makes me think it's not necessarily a scintilla issue.
Hmm, it is a Scintilla issue, to me more precise, a ScintillaGtk issue. Scintilla consist of the base code which is platform-independent and then it has some portion of code for GTK, the native Windows-API and IIRC some MacOSX code. We are using the GTK part of Scintilla's platform-dependent code on Windows and on non-Windows systems (even on MacOSX). So, notepad++'s code wouldn't help us since they are using the native Windows-API part of Scintilla and this probably hasn't such problems.
Regards, Enrico