Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
Hello Martin. OK, tested --> perfect. Many thanks. Fre;D De : Martin Schreiber <mse00...@gmail.com> Envoyé : dimanche 6 août 2017 12:48 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint On Sunday 06 August 2017 12:17:31 Fred van Stappen wrote: > > > Can you point to the ISO-file you used to install your Mint version? > > > > https://www.linuxmint.com/edition.php?id=160 Linux Mint 17 "Qiana" - MATE (64-bit)<https://www.linuxmint.com/edition.php?id=160> www.linuxmint.com Linux Mint is an elegant, easy to use, up to date and comfortable GNU/Linux desktop distribution. > > By curiosity, was the iso mint 17 part of the problem ? > Yes. It triggered an endless alignment loop - probably different default font height - because "sampcountdi" of noisegen example had wrong anchor settings. Under some circumstances it was possible that a recursive call of tcustomframe.updatestate() happened. tcustomframe.updatestate() now has a recursion lock and the paint loop count in main event loop has been limited. Additionally sampccountdi.anchors has been fixed. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
On Sunday 06 August 2017 12:17:31 Fred van Stappen wrote: > > > Can you point to the ISO-file you used to install your Mint version? > > > > https://www.linuxmint.com/edition.php?id=160 > > By curiosity, was the iso mint 17 part of the problem ? > Yes. It triggered an endless alignment loop - probably different default font height - because "sampcountdi" of noisegen example had wrong anchor settings. Under some circumstances it was possible that a recursive call of tcustomframe.updatestate() happened. tcustomframe.updatestate() now has a recursion lock and the paint loop count in main event loop has been limited. Additionally sampccountdi.anchors has been fixed. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
> > Can you point to the ISO-file you used to install your Mint version? > > https://www.linuxmint.com/edition.php?id=160 By curiosity, was the iso mint 17 part of the problem ? Thanks. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
> I could reproduce the problem Ha, good news (could it be possible that you explain, shortly, what was the problem so I understand better your debugger). > please try again with MSEide+MSEgui git master > f416bab3a4e526ad5015a892cce7107f467324b6 and MSEuniverse Perfect, write you later. Many thanks. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
On Saturday 05 August 2017 17:45:01 Fred van Stappen wrote: > #94 0068B30A msedispwidgets.pas:516 CLIENTRECTCHANGED(this=0x77f99290) > #95 004301F1 msegui.pas:4804 UPDATESTATE(this=0x77eca140) > #96 004302FD msegui.pas:4831 CHECKSTATE(this=0x77eca140) > #97 004412BF msegui.pas:10393 INNERCLIENTRECT(this=0x77f99290) > #98 0068B30A msedispwidgets.pas:516 CLIENTRECTCHANGED(this=0x77f99290) > #99 004301F1 msegui.pas:4804 UPDATESTATE(this=0x77eca140) > #100 004302FD msegui.pas:4831 CHECKSTATE(this=0x77eca140) > > > > On what line must I click, all give a result somewhere in msecode ? > The last is the relevant thread. > > Can you point to the ISO-file you used to install your Mint version? > > https://www.linuxmint.com/edition.php?id=160 > I could reproduce the problem, please try again with MSEide+MSEgui git master f416bab3a4e526ad5015a892cce7107f467324b6 and MSEuniverse 32fb9a667fb377036bdc0860949bcd08ba9a7da7. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
On Saturday 05 August 2017 17:30:12 Fred van Stappen wrote: > > ---> crash ---> here Stack result: > [...] > #17 0043E802 msegui.pas:9527 CLIENTRECTCHANGED(this=0x77f99290) > #18 0068B301 msedispwidgets.pas:515 CLIENTRECTCHANGED(this=0x77f99290) > #19 004301F1 msegui.pas:4804 UPDATESTATE(this=0x77eca140) > #20 004302FD msegui.pas:4831 CHECKSTATE(this=0x77eca140) > #21 004412BF msegui.pas:10393 INNERCLIENTRECT(this=0x77f99290) > #22 0068B30A msedispwidgets.pas:516 CLIENTRECTCHANGED(this=0x77f99290) > #23 004301F1 msegui.pas:4804 UPDATESTATE(this=0x77eca140) > #24 004302FD msegui.pas:4831 CHECKSTATE(this=0x77eca140) > #25 004412BF msegui.pas:10393 INNERCLIENTRECT(this=0x77f99290) > #26 0068B30A msedispwidgets.pas:516 CLIENTRECTCHANGED(this=0x77f99290) > #27 004301F1 msegui.pas:4804 UPDATESTATE(this=0x77eca140) > #28 004302FD msegui.pas:4831 CHECKSTATE(this=0x77eca140) > #29 004412BF msegui.pas:10393 INNERCLIENTRECT(this=0x77f99290) [...] Here one clearly sees that there is a recursion and therfore a stack overflow. I'll try to reproduce the situation. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
> This is not the thread which throws the exception. Please click in thread > window in the different rows until the stack window shows the exception or > signal. #0 2774 unknown "noisegen" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:143 -> click on this gives this: #0 F7BC83E7 pthread_cond_wait.S:143 pthread_cond_wait@@GLIBC_2.3.2() #1 F3F38640 :0 pa_threaded_mainloop_wait() #2 F4152DDA :0 pa_simple_write() #3 006A3563 msesigaudio.pas:423 THREADPROC(this=0x77f66720, SENDER=0x77ed9880) #4 005041B2 msethread.pas:332 INTERNALTHREADPROC(this=0x77ed9880) #5 00539D5A msesysintf.pas:802 THREADEXEC(INFOPO=0x77ed9888) #6 0042B615 :0 CTHREADS_$$_THREADMAIN$POINTER$$POINTER() #7 00539D00 :0 ??() #8 F7ED9888 :0 ??() #9 0040 :0 ??() #10 04C8 :0 ??() #11 :0 ??() --- #1 2773 unknown "threaded-ml" 0x773aac5d in poll () at ../sysdeps/unix/syscall-template.S:81 -> click on this gives this: #0 F73AAC5D syscall-template.S:81 poll() #1 F3F38031 :0 ??() #2 F3F2983C :0 pa_mainloop_poll() #3 F3F29ECE :0 pa_mainloop_iterate() #4 F3F29F80 :0 pa_mainloop_run() #5 F3F37FE3 :0 ??() #6 F3CE6F08 :0 ??() #7 F7BC4184 pthread_create.c:312 start_thread(arg=0x7fffee26c700) #8 F73B7FFD clone.S:111 clone() --- #2 2768 unknown "noisegen" 0x7563891c in XftFontCheckGlyph () from /usr/lib/x86_64-linux-gnu/libXft.so.2 -> click on this gives this: #0 F563891C :0 XftFontCheckGlyph() #1 F5634E5B :0 XftGlyphExtents() #2 F56352B3 :0 XftTextExtents32() #3 005B83CD msex11gdi.pas:1488 GDI_GETCHAR16WIDTHS(DRAWINFO={BUFFER = {SIZE = -6880, BUFFER = 0x0, CURSIZE = 0}, GC = {HANDLE = 11660608, REFGC = 0, GDIFUNCS = 0x9ae470, FONTGDIFUNCS = 0x9ae470 , DRAWINGFLAGS = 0, KIND = BMK_RGB, CLIPORIGIN = {X = 0, Y = 0}, PAINTDEVICESIZE = {CX = 535, CY = 270}, PPMM = 3, PLATFORMDATA = {0x0 }}, STATESTAMP = 4371670, PAINTDEVICE = 65011718, ORIGIN = {X = -135487168, Y = 32767}, ACOLORBACKGROUND = 0, ACOLORFOREGROUND = 0, GCVALUES = 0x7f800b08, RECT = {RECT = 0x77feb618}, ARC = {RECT = 0x77feb618, STARTANG = 3,4584595208887258e-323, EXTENTANG = 6,9533491455581869e-310, PIESLICE = 80}, POS = {POS = 0x77feb618}, TEXTPOS = {POS = 0x77feb618, TEXT = 0x7 , COUNT = -134845984}, TEXT16POS = {POS = 0x77feb618, TEXT = 0x7 , COUNT = -134845984}, POINTS = {POINTS = 0x77feb618, COUNT = 7, CLOSED = false}, COLOR = {COLOR = 4160665112}, GETFONT = {FONTDATA = 0x77feb618, BASEFONT = 7, OK = 224}, GETTEXT16WIDTH = {TEXT = 0x77feb618 "a\000v\000e\000r\000a\000g\000e\000", COUNT = 7, FONTDATA = 0x77f669e0, RESULT = -134293168}, GETCHAR16WIDTHS = {TEXT = 0x77feb618 "a\000v\000e\000r\000a\000g\000e\000", COUNT = 7, FONTDATA = 0x77f669e0, RESULTPO = 0x77fed950}, GETFONTMETRICS = {CHAR = 4160665112, FONTDATA = 0x7, RESULTPO = 0x77f669e0}, COPYAREA = {SOURCE = 0x77feb618, SOURCERECT = 0x7, DESTRECT = 0x77f669e0, TILEORIGIN = 0x77fed950, ALIGNMENT = 4286581304, COPYMODE = 32767, TRANSPARENTCOLOR = 2, MASK = 0x9bbc76 , MASKSHIFTSCALED = {X = 4304812, Y = 0}, MASKSHIFT = {X = 0, Y = 0}, OPACITY = {BLUE = 0 '\000', GREEN = 0 '\000', RED = 0 '\000', RES = 0 '\000'}}, REGIONOPERATION = {SOURCE = 140737354053144, DEST = 7, RECT = {X = -134845984, Y = 32767, CX = -134293168, CY = 32767, POS = {X = -134845984, Y = 32767}, SIZE = {CX = -134293168, CY = 32767}}, RECTSPO = 0x7f800a38, RECTSCOUNT = 2}, FONTHASGLYPH = {FONT = 140737354053144, UNICHAR = 7, HASGLYPH = false}, CREATEGC = {PAINTDEVICE = 140737354053144, KIND = 7, PRINTERNAMEPO = 0x77f669e0, CONTEXTINFOPO = 0x77fed950, GCPO = 0x7f800a38, WINDOWRECT = 0x2, PARENT = 10206326, CREATEPAINTDEVICE = 172, ERROR = GDE_OK}, GETIMAGE = {ERROR = 4160665112, IMAGE = {IMAGE = {KIND = (BMK_GRAY | BMK_RGB | unknown: 4), BGR = false, SIZE = {CX = -134845984, CY = 32767}, LENGTH = -134293168, LINELENGTH = 32767, LINEBYTES = -8385992, PIXELS = 0x2}, MASK = {KIND = (BMK_RGB | unknown: 10206324), BGR = false, SIZE = {CX = 4304812, CY = 0}, LENGTH = 0, LINELENGTH = 0, LINEBYTES = 0, PIXELS = 0x7fffe520}}}, GETCANVASCLASS = {CANVASCLASS = 0x77feb618, KIND = (BMK_GRAY | BMK_RGB | unknown: 4)}, CREATEPIXMAP = {SIZE = {CX = -134302184, CY = 32767}, KIND = (BMK_GRAY | BMK_RGB | unknown: 4), COPYFROM = 140737353509344, PIXMAP = 140737354062160}, PIXMAPIMAGE = {PIXMAP = 140737354053144, IMAGE = {KIND = (BMK_GRAY | BMK_RGB | unknown: 4), BGR = false, SIZE = {CX = -134845984, CY = 32767}, LENGTH = -134293168, LINELENGTH = 32767, LINEBYTES = -8385992, PIXELS = 0x2}, ERROR = 10206326}, MOVERECT = {DIST = 0x77feb618, RECT = 0x7}}) #4 005AE97A msefont.pas:363 GETCHAR16WIDTHS(DRAWINFO={BUFFER = {SIZE = -6880, BUFFER = 0x0,
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
Hello Martin. Here how I did: 1) Change code in msegui.pas, as described in previous mail and recompile meseide to be able to load noisegen.pas 2) When noisegen.pas is loaded, compile it using this debug code: > debugging line 8268 of msegui.pas with this (code corrected = no crash) wam_center: begin writeln('awidget.framesize.cy = ' + inttostr(awidget.framesize.cy)); writeln('awidget.height = ' + inttostr(awidget.height)); writeln(); if awidget.framesize.cy >= awidget.height then result:= frootpos.y + framepos.y + framesize.cy div 2 else result:= frootpos.y + framepos.y + awidget.height div 2; end; else begin > here result in console (see, sometimes framesize.cy <> awidget.height, is it ok and is it ok that aligny() is called more than 100 times?) awidget.framesize.cy = 13 awidget.height = 17 awidget.framesize.cy = 19 awidget.height = 19 awidget.framesize.cy = 21 awidget.height = 21 awidget.framesize.cy = 10 awidget.height = 10 awidget.framesize.cy = 13 awidget.height = 17 awidget.framesize.cy = 19 awidget.height = 19 awidget.framesize.cy = 21 awidget.height = 21 awidget.framesize.cy = 10 awidget.height = 10 awidget.framesize.cy = 13 awidget.height = 17 awidget.framesize.cy = 19 awidget.height = 19 awidget.framesize.cy = 21 awidget.height = 21 awidget.framesize.cy = 10 awidget.height = 10 awidget.framesize.cy = 13 awidget.height = 17 awidget.framesize.cy = 19 awidget.height = 19 ... ( same +-5 x ) _ Now debugging the initial code: > debugging line 8268 of msegui.pas with this (using code initial). ---> crash wam_center: begin writeln('awidget.framesize.cy = ' + inttostr(awidget.framesize.cy)); writeln('awidget.height = ' + inttostr(awidget.height)); writeln(); result:= frootpos.y + framepos.y + framesize.cy div 2 end; ---> crash ---> here Stack result: #0 F563891C :0 XftFontCheckGlyph() #1 F5634E5B :0 XftGlyphExtents() #2 F56352B3 :0 XftTextExtents32() #3 005B83CD msex11gdi.pas:1488 GDI_GETCHAR16WIDTHS(DRAWINFO={BUFFER = {SIZE = -6880, BUFFER = 0x0, CURSIZE = 0}, GC = {HANDLE = 11660448, REFGC = 0, GDIFUNCS = 0x9ae470, FONTGDIFUNCS = 0x9ae470, DRAWINGFLAGS = 0, KIND = BMK_RGB, CLIPORIGIN = {X = 0, Y = 0}, PAINTDEVICESIZE = {CX = 535, CY = 270}, PPMM = 3, PLATFORMDATA = {0x0 }}, STATESTAMP = 4371670, PAINTDEVICE = 54525958, ORIGIN = {X = -135487168, Y = 32767}, ACOLORBACKGROUND = 0, ACOLORFOREGROUND = 0, GCVALUES = 0x7f800b08, RECT = {RECT = 0x77feb618}, ARC = {RECT = 0x77feb618, STARTANG = 3,4584595208887258e-323, EXTENTANG = 6,9533491455581869e-310, PIESLICE = 80}, POS = {POS = 0x77feb618}, TEXTPOS = {POS = 0x77feb618, TEXT = 0x7 , COUNT = -134845984}, TEXT16POS = {POS = 0x77feb618, TEXT = 0x7 , COUNT = -134845984}, POINTS = {POINTS = 0x77feb618, COUNT = 7, CLOSED = false}, COLOR = {COLOR = 4160665112}, GETFONT = {FONTDATA = 0x77feb618, BASEFONT = 7, OK = 224}, GETTEXT16WIDTH = {TEXT = 0x77feb618 'average', COUNT = 7, FONTDATA = 0x77f669e0, RESULT = -134299056}, GETCHAR16WIDTHS = {TEXT = 0x77feb618 'average', COUNT = 7, FONTDATA = 0x77f669e0, RESULTPO = 0x77fec250}, GETFONTMETRICS = {CHAR = 4160665112, FONTDATA = 0x7, RESULTPO = 0x77f669e0}, COPYAREA = {SOURCE = 0x77feb618, SOURCERECT = 0x7, DESTRECT = 0x77f669e0, TILEORIGIN = 0x77fec250, ALIGNMENT = 4286581304, COPYMODE = 32767, TRANSPARENTCOLOR = 2, MASK = 0x9bbc76, MASKSHIFTSCALED = {X = 4304812, Y = 0}, MASKSHIFT = {X = 0, Y = 0}, OPACITY = {BLUE = 0, GREEN = 0, RED = 0, RES = 0}}, REGIONOPERATION = {SOURCE = 140737354053144, DEST = 7, RECT = {X = -134845984, Y = 32767, CX = -134299056, CY = 32767, POS = {X = -134845984, Y = 32767}, SIZE = {CX = -134299056, CY = 32767}}, RECTSPO = 0x7f800a38, RECTSCOUNT = 2}, FONTHASGLYPH = {FONT = 140737354053144, UNICHAR = 7, HASGLYPH = false}, CREATEGC = {PAINTDEVICE = 140737354053144, KIND = 7, PRINTERNAMEPO = 0x77f669e0, CONTEXTINFOPO = 0x77fec250, GCPO = 0x7f800a38, WINDOWRECT = 0x2, PARENT = 10206326, CREATEPAINTDEVICE = 172, ERROR = GDE_OK}, GETIMAGE = {ERROR = 4160665112, IMAGE = {IMAGE = {KIND = (BMK_GRAY | BMK_RGB | unknown: 4), BGR = false, SIZE = {CX = -134845984, CY = 32767}, LENGTH = -134299056, LINELENGTH = 32767, LINEBYTES = -8385992, PIXELS = 0x2}, MASK = {KIND = (BMK_RGB | unknown: 10206324), BGR = false, SIZE = {CX = 4304812, CY = 0}, LENGTH = 0, LINELENGTH = 0, LINEBYTES = 0, PIXELS = 0x7fffe520}}}, GETCANVASCLASS = {CANVASCLASS = 0x77feb618, KIND = (BMK_GRAY | BMK_RGB | unknown: 4)}, CREATEPIXMAP = {SIZE = {CX = -134302184, CY = 32767}, KIND = (BMK_GRAY | BMK_RGB | unknown: 4), COPYFROM = 140737353509344, PIXMAP = 140737354056272}, PIXMAPIMAGE = {PIXMAP = 140737354053144, IMAGE = {KIND = (BMK_GRAY | BMK_RGB | unknown: 4), BGR = false, SIZE = {CX = -134845984, CY = 32767},
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
On Saturday 05 August 2017 15:22:02 Fred van Stappen wrote: > Hello Martin. > > > Maybe that mail got lost? > > Huh, witch one ? > > > You never give up! ;-) > > Yes, when I find a solution ;-) > > > How > > looks the stack trace at the crash? > > Not easy to give trace of the crash of meseide when show main.pas as form > (because the debugger crash with mseide crash)... > ??? can you try with commandline gdb and the backtrace command after the crash? > So I can give only trace of noisegen-crash debugged with mseide. (see > attachment) > This is not the thread which throws the exception. Please click in thread window in the different rows until the stack window shows the exception or signal. Can you point to the ISO-file you used to install your Mint version? Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
Hello Martin. > Maybe that mail got lost? Huh, witch one ? > You never give up! ;-) Yes, when I find a solution ;-) > How > looks the stack trace at the crash? Not easy to give trace of the crash of meseide when show main.pas as form (because the debugger crash with mseide crash)... So I can give only trace of noisegen-crash debugged with mseide. (see attachment) Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
Maybe that mail got lost? On Thursday 03 August 2017 06:56:32 Martin Schreiber wrote: > On Thursday 03 August 2017 00:19:05 Fred van Stappen wrote: > > Hello Martin. > > > > I have the bandit. > > > > He was hidden in msegui.pas, inside function twidget.aligny(). > > > > At line 8275 ---> > > > >wam_center: begin > > result:= frootpos.y + framepos.y + framesize.cy div 2; > > end; > > > > I change it with this: > > > >wam_center: begin > > if awidget.framesize.cy >= awidget.height then > > result:= frootpos.y + framepos.y + framesize.cy div 2 else > > result:= frootpos.y + framepos.y + awidget.height div 2; > > end; > > You never give up! ;-) > > I must be able to reproduce the problem before I can make changes. How > looks the stack trace at the crash? > > Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
> I have the bandit. Huh, it seems that he was part of the problems of flickering when enabling Z order handling on my system. Now the problems are gone... Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
Hello Martin. I have the bandit. He was hidden in msegui.pas, inside function twidget.aligny(). At line 8275 ---> wam_center: begin result:= frootpos.y + framepos.y + framesize.cy div 2; end; I change it with this: wam_center: begin if awidget.framesize.cy >= awidget.height then result:= frootpos.y + framepos.y + framesize.cy div 2 else result:= frootpos.y + framepos.y + awidget.height div 2; end; Now, after recompiling mseide and loading last noisegen + show main.pas as form --> perfect, no crash. And compile+run works like charm. ;-) PS: Maybe (surely) you have a better correction for the bandit, but for my system, all is ok now. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
On Thursday 03 August 2017 00:19:05 Fred van Stappen wrote: > Hello Martin. > > I have the bandit. > > He was hidden in msegui.pas, inside function twidget.aligny(). > > At line 8275 ---> > >wam_center: begin > result:= frootpos.y + framepos.y + framesize.cy div 2; > end; > > I change it with this: > >wam_center: begin > if awidget.framesize.cy >= awidget.height then > result:= frootpos.y + framepos.y + framesize.cy div 2 else > result:= frootpos.y + framepos.y + awidget.height div 2; > end; > You never give up! ;-) I must be able to reproduce the problem before I can make changes. How looks the stack trace at the crash? Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
test -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
Hello Martin. I have the bandit. He was hidden in msegui.pas, inside function twidget.aligny(). At line 8275 ---> wam_center: begin result:= frootpos.y + framepos.y + framesize.cy div 2; end; I change it with this: wam_center: begin if awidget.framesize.cy >= awidget.height then result:= frootpos.y + framepos.y + framesize.cy div 2 else result:= frootpos.y + framepos.y + awidget.height div 2; end; Now, after recompiling mseide and loading last noisegen + show main.pas as form --> perfect, no crash. And compile+run works like charm. ;-) PS: Maybe you have a better correction for te bandit, but for my system, all is ok now. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
Hello Martin. I have the bandit. He was hidden in msegui.pas, inside function twidget.aligny(). At line 8275 ---> wam_center: begin result:= frootpos.y + framepos.y + framesize.cy div 2; end; I change it with this: wam_center: begin if awidget.framesize.cy >= awidget.height then result:= frootpos.y + framepos.y + framesize.cy div 2 else result:= frootpos.y + framepos.y + awidget.height div 2; end; Now, after recompiling mseide and loading last noisegen + show main.pas as form --> perfect, no crash. And compile+run works like charm. ;-) PS: Maybe you have a better correction for te bandit, but for my system, all is ok now. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
> Again the the question: can anybody reproduce the problem? Tonight I will come back to combat. I have more indice now of the bandit: he is somewhere in a process used by TLayouter. The crash comes from libXFt.so. I suspect some pointer not assigned / not set-to nil to make trouble with my graphic-card: lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e). Write you later. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
It also works on Mint 18.2-MATE. Again the the question: can anybody reproduce the problem? Martin What video chip / card / driver is being used? I hve had problems with nvidea chips in the past and it was always the driver. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint
On 08/02/2017 02:07 PM, Fred van Stappen wrote: >>> So, to resume, on my Linux 64 Mint system there is problem with: > >> Works for me on Mint 18.2 and Cinnamon desktop. > > Ha, ok, I am happy for you. > It also works on Mint 18.2-MATE. Again the the question: can anybody reproduce the problem? Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint (was: Some question about MSE thread...)
>> So, to resume, on my Linux 64 Mint system there is problem with: > Works for me on Mint 18.2 and Cinnamon desktop. Ha, ok, I am happy for you. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint (was: Some question about MSE thread...)
Re-hello Martin. I do not know if it could help but the symptom of tlayouter problems on my machine are +- similar with the problem I have when enable Z order handling. Also, at the beginning when I was working on ideU, I had, at run time with the designer, problems with msesettings and layout. Suddenly the settingsfo become crazy (moving all the way) + crash. At that moment (and till now), the solution was to re-design settingsfo, without using any TLayouter. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint (was: Some question about MSE thread...)
> https://www.linuxmint.com/download.php > Cinnamon, MATE, Xfce, KDE or something other? Hello Martin. I use (like many others, see http://distrowatch.com stat on the right) Linux Mint MATE. My version is Mint Mate 17. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint (was: Some question about MSE thread...)
On 08/01/2017 03:36 PM, Fred van Stappen wrote: > > So, to resume, on my Linux 64 Mint system there is problem with: > Works for me on Mint 18.2 and Cinnamon desktop. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] tlayouter on Linux Mint (was: Some question about MSE thread...)
On 07/31/2017 11:32 PM, Fred van Stappen wrote: > > >> operating system, which window manager? > > Linux Mint 64 bit with Mint-built in WM > >From here? https://www.linuxmint.com/download.php Cinnamon, MATE, Xfce, KDE or something other? Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk