Re: GORM and NSCollectionView

2015-03-27 Thread Riccardo Mottola
Hi, On 03/25/15 23:48, Germán Arias wrote: Testing with Grr with Cairo backend (resizing or not the window) I don't see flickers. The version of cairo is 1.13.0-20140204. here flickering is bad on certain machines, certain not. I think it could be related on which acceleration X11 supports,

Re: GORM and NSCollectionView

2015-03-27 Thread Alessandro Sangiuliano
Il 27/03/2015 12:44, Riccardo Mottola ha scritto: Hi, On 03/25/15 23:48, Germán Arias wrote: Testing with Grr with Cairo backend (resizing or not the window) I don't see flickers. The version of cairo is 1.13.0-20140204. here flickering is bad on certain machines, certain not. I think it

Re: GORM and NSCollectionView

2015-03-25 Thread Germán Arias
El mié, 25-03-2015 a las 00:17 +0100, Riccardo Mottola escribió: Hi, Riccardo Mottola wrote: However, a fresh started Grr instance and window does not flicker with mouse over. I correct myself I tried on another laptop running the cairo backend, a slower machine (iBook which needs

Re: GORM and NSCollectionView

2015-03-24 Thread Alessandro Sangiuliano
It is working here too, I'm testing it from yesterday. I still not reported because I have a problem with the EtoileBehavior bundle after the -back upgrade, I'm trying to fix it. I fixed some of its common problems in the past, like the right click mouseDown; before the fix if you did righ

Re: GORM and NSCollectionView

2015-03-24 Thread Riccardo Mottola
Hi, Riccardo Mottola wrote: However, a fresh started Grr instance and window does not flicker with mouse over. I correct myself I tried on another laptop running the cairo backend, a slower machine (iBook which needs graphics acceleration to be turned off) and essentially our toolbar always

Re: GORM and NSCollectionView

2015-03-24 Thread Riccardo Mottola
Fred Kiefer wrote: - As for the white part I also found the source. The most likely reason was that we tell X11 somewhere to fill the window with the background_pixel and we never use setbackgroundcolor:: to change this value. I made a quick check and changed the default value in -window

Re: GORM and NSCollectionView

2015-03-24 Thread Riccardo Mottola
Hi Fred, Fred Kiefer wrote: Now the flickering is gone for me. I still have the other problem of corrupted subview display after extensive resize, but I wont be looking into that today. I just will commit my changes and you all should try to test them with different conditions, maybe even the

Re: GORM and NSCollectionView

2015-03-23 Thread Philippe Roussel
Hi Fred, On Sun, Mar 22, 2015 at 04:09:46PM +0100, Fred Kiefer wrote: [snip] Now the flickering is gone for me. I still have the other problem of corrupted subview display after extensive resize, but I wont be looking into that today. I just will commit my changes and you all should try to

Re: GORM and NSCollectionView

2015-03-22 Thread Alessandro Sangiuliano
Thank you for the suggestions. I just started to look at the code you mentioned. The problem is that I also have to deal with a lot of X11 documentation. Il 21/03/2015 19:39, Matt Rice ha scritto: On Sat, Mar 21, 2015 at 6:40 AM, Alessandro Sangiuliano alex2...@hotmail.com wrote: Il

Re: GORM and NSCollectionView

2015-03-21 Thread Alessandro Sangiuliano
Il 20/03/2015 12:13, Alessandro Sangiuliano ha scritto: Il 19/03/2015 22:19, Fred Kiefer ha scritto: Am 17.03.2015 um 14:17 schrieb Alessandro Sangiuliano: Il 17/03/2015 09:53, Riccardo Mottola ha scritto: Fred Kiefer wrote: I just tried with 31 students and the flickering is horrible, but

Re: GORM and NSCollectionView

2015-03-21 Thread Matt Rice
On Sat, Mar 21, 2015 at 6:40 AM, Alessandro Sangiuliano alex2...@hotmail.com wrote: Il 20/03/2015 12:13, Alessandro Sangiuliano ha scritto: Il 19/03/2015 22:19, Fred Kiefer ha scritto: Am 17.03.2015 um 14:17 schrieb Alessandro Sangiuliano: Il 17/03/2015 09:53, Riccardo Mottola ha scritto:

Re: GORM and NSCollectionView

2015-03-20 Thread Alessandro Sangiuliano
Il 19/03/2015 22:19, Fred Kiefer ha scritto: Am 17.03.2015 um 14:17 schrieb Alessandro Sangiuliano: Il 17/03/2015 09:53, Riccardo Mottola ha scritto: Fred Kiefer wrote: I just tried with 31 students and the flickering is horrible, but it stops as soon as I let go of the window. Which Window

Re: GORM and NSCollectionView

2015-03-19 Thread Fred Kiefer
Am 17.03.2015 um 14:17 schrieb Alessandro Sangiuliano: Il 17/03/2015 09:53, Riccardo Mottola ha scritto: Fred Kiefer wrote: I just tried with 31 students and the flickering is horrible, but it stops as soon as I let go of the window. Which Window manager are you using? I am running

Re: GORM and NSCollectionView

2015-03-17 Thread Riccardo Mottola
Hi, Fred Kiefer wrote: I just tried with 31 students and the flickering is horrible, but it stops as soon as I let go of the window. Which Window manager are you using? I am running windowmaker and I must say that flickering during resize is quite bad for may windows and different

Re: GORM and NSCollectionView

2015-03-17 Thread Alessandro Sangiuliano
Il 17/03/2015 09:53, Riccardo Mottola ha scritto: Hi, Fred Kiefer wrote: I just tried with 31 students and the flickering is horrible, but it stops as soon as I let go of the window. Which Window manager are you using? I am running windowmaker and I must say that flickering during resize

Re: GORM and NSCollectionView

2015-03-16 Thread Alessandro Sangiuliano
Hello, 12/03/2015 23:20, Fred Kiefer has wrote: My latest change may look like the horrible hack it is, but it finally brings us the full functionality of your application. Please give it a try. The little CollectionView App I wrote for practice with NSCollectionVIew and bindings is now

Re: GORM and NSCollectionView

2015-03-16 Thread Fred Kiefer
Am 16.03.2015 um 15:06 schrieb Alessandro Sangiuliano: The only problem that is floating around now, is the flashing/jittering/glitching or, whatever is the right word, when a gnustep window is resized. This is not an NSCollectionView or -gui or -base problem, but I strongly think it comes

Re: GORM and NSCollectionView

2015-03-12 Thread Alessandro Sangiuliano
Il 11/03/2015 00:25, Fred Kiefer ha scritto: I got a whole bit closer today, I now understand where the view for the collection view item comes from and why it wasn't displayed with the old code. Another order dependent issue, that should be resolved now. The remaining big problem is how to

Re: GORM and NSCollectionView

2015-03-12 Thread Fred Kiefer
My latest change may look like the horrible hack it is, but it finally brings us the full functionality of your application. Please give it a try. If you are interested in working on GNUstep, why don't you join Google Summer of Code and work on KVB? The best thing to learn something is to

Re: GORM and NSCollectionView

2015-03-10 Thread Fred Kiefer
I got a whole bit closer today, I now understand where the view for the collection view item comes from and why it wasn't displayed with the old code. Another order dependent issue, that should be resolved now. The remaining big problem is how to transver the KVB from the text field prototype

Re: GORM and NSCollectionView

2015-03-09 Thread Alessandro Sangiuliano
Hello, I just saw the emails because I wasn't at home this week. Thanks for all the fixes I'll try them In about 1 hour, then I'l report the situation. You also spoken about contribution. I'd like to contribute directly to gnustep, but there are some problems: 1) I study Cocoa/GNUstep in

Re: GORM and NSCollectionView

2015-03-08 Thread Fred Kiefer
OK, this time my changes should bring you a lot closer to what you are expecting. The two important changes where some clean up in NSArrayController to update the arranged objects in many cases (some are still missing and the others are rather inefficient). And to get the NSCollectionViewItem to

Re: GORM and NSCollectionView

2015-03-07 Thread Fred Kiefer
You should forget about converting your NIB file to gorm format, there is no reason for doing so, now that GNUstep supports NIB and XIB format. Just stick with .nib files and try to get these working with GNUstep, which will be hard enough. I did a few more changes and the error messages you

Re: GORM and NSCollectionView

2015-03-07 Thread Fred Kiefer
I made a little progress on this. If I call [self setAutomaticallyRearrangesObjects: YES]; in the method initWithCoder: of the NSArrayController and use a separate setStudents: method on the AppController I finally get all the new students in the array. What still isn't working is the display of

Re: GORM and NSCollectionView

2015-03-06 Thread Alessandro Sangiuliano
Il 05/03/2015 22:58, Fred Kiefer ha scritto: I used gdb to get the full stack trace form Gorm. The problem happens when line 161 in NSCollectionView.m tries to get the item 0 while there isn't any item in the subview list. The issue that causes this strange behaviour seem to be the MIN macro. I

Re: GORM and NSCollectionView

2015-03-05 Thread Fred Kiefer
I used gdb to get the full stack trace form Gorm. The problem happens when line 161 in NSCollectionView.m tries to get the item 0 while there isn't any item in the subview list. The issue that causes this strange behaviour seem to be the MIN macro. I added the following line before the loop: