Options menu flashes constantly lazarus / 11-Options ---------------------------------------------------------------------- Ever · 2017-03-08 18:16 Regards       I just installed Lazarus 1.6.4 on my laptop with Windows 10. Previously uninstall the latest version under which I was working (1.6). When you finish installing and starting the IDE for the first time everything works wonderfully. Once I started to add the components that I use commonly (LazReport, FortesReport, IBX, Zoes Lib among others) the options menu started to flash or constantly redraw when I hit the bar where the installed controls are, however, if I select any option Menu fails to do so, or if I open a form to work on it, but I just give the option to Close All in the File menu, it starts flashing again.     In the accompanying image, highlight in yellow the constantly flashing options menu       Any suggestions to avoid this problem as it is quite uncomfortable to work in this way.    Thank you for the help you can provide    Sincerely,   Ever Delgado ---------------------------------------------------------------------- Ondrej Pokorny · 2017-03-08 19:54 It may be caused by an installed package. Try to find out which one - return to basic Lazarus installation and then install packages one-by- one to see which one caused it. ---------------------------------------------------------------------- FTurtle · 2017-03-08 20:41 This looks like one bug which exist in 1.6.4 but absent in trunk. Reproducing: Close Source editor's tabs one-by-one. After you close last tab, editor's window closed and main menu begin flashing. Solution: Just open something in editor. ---------------------------------------------------------------------- Ondrej Pokorny · 2017-03-09 08:32 Quote from: FTurtle on March 08, 2017, 09:41:54 pmThis looks like one bug which exist in 1.6.4 but absent in trunk. I fixed this one I dont' think it's the same bug. ---------------------------------------------------------------------- mars · 2017-04-08 00:09 The IDE menu blinks wildly when there are no projects or files open. This has already been identified, verified and commented on in this Forum. But no one explains why. It is difficult to recommend Lazarus to my students, when I do not know to answer those who ask me, what happens to this IDE. Is there anyone responsible for this blinker who can answer how to solve this troublesome situation? I'll be very thankfull. ---------------------------------------------------------------------- mars · 2017-04-08 00:17 I'm sorry for the comment that follows, but I need to comment. It's amazing that someone says "I fixed this one" and does not report how it was resolved. So it's better not even join the Forum. Sorry for the comment, but this Forum is to solve problems and not to be used as Facebook. ---------------------------------------------------------------------- Phil · 2017-04-08 00:40 Quote from: mars on April 08, 2017, 02:09:59 amThe IDE menu blinks wildly when there are no projects or files open. Yes, it is visually annoying, but why or when would you close all files in normal use? What's the point of that? Note that you can't actually close a project in Lazarus. You can create a new project and you can switch to a different project and you can close a project's files, but there's always a project open. ---------------------------------------------------------------------- mars · 2017-04-08 01:47 Before closing Lazarus IDE, I use the close all menu. I consider it a good practice, so when restarting the IDE, the previous project will not load automatically. So "but there's always a project open" is not true. Furthermore, I do not consider that when there is a problem that there was not even before, people will settle for it saying "yes, there is a problem but there is not a problem". This Forum is to try to improve and not to settle for the situation. I think it would be more reasonable if the person or group of people who deployed IDE to manifest and correct this extremely annoying problem. I do not know where the problem is, but those who have developed the program will surely know. So I return to my previous speech: if it is resolved I will be very grateful. And just a reminder: I believe that all of us who attend this Forum want to learn, help and spread Lazarus. So we can not say: this is not a relevant problem. Every problem is relevant. ---------------------------------------------------------------------- Phil · 2017-04-08 01:51 Quote from: mars on April 08, 2017, 03:47:55 amBefore closing Lazarus IDE, I use the close all menu. I consider it a good practice, so when restarting the IDE, the previous project will not load automatically. So "but there's always a project open" is not true. No, if you want that behavior, uncheck the "Open last project and packages at start" box in IDE Options. Look on the title bar - it says "project1" or something, doesn't it? That's the project that's always open. ---------------------------------------------------------------------- mars · 2017-04-08 02:15 Your suggestion solves the boring blinker. But the flasher is still there in the IDE. I just stop seeing it. If I want to write a library, I start the lazarus, there will always be an open project and I choose a new library project. It works, but the blinker continues in the Lazarus code. I just stop seeing it. Sorry for my insistence, but I would like the developers to correct the problem. This problem did not exist before and should not be introducing into a new version of Lazarus. In earlier versions, it was possible to develop programs in directories with long names and with accented letters. In a later version this is no longer possible. I reported the problem and the suggestion was the same, ie go around the situation and do not use names with accented letters. And the problem has not been solved. I'll be more emphatic. I hit my car, but it keeps running. So I will not fix the damage, after all, it keeps working. I know you want to help. I really do. But I still think the flasher could be fixed. Thank you very much for your recommendation. I really appreciate it. ---------------------------------------------------------------------- Phil · 2017-04-08 02:20 Quote from: mars on April 08, 2017, 04:15:59 amSorry for my insistence, but I would like the developers to correct the problem. This problem did not exist before and should not be introducing into a new version of Lazarus. Check the commit log around the date of ondrej's cryptic post and see if there's a commit that fixes it? ---------------------------------------------------------------------- FTurtle · 2017-04-08 10:39 Quote from: mars on April 08, 2017, 04:15:59 amIt works, but the blinker continues in the Lazarus code. I just stop seeing it. Sorry for my insistence, but I would like the developers to correct the problem. This problem did not exist before and should not be introducing into a new version of Lazarus. You trying break through the open door. You just not quite understood what they told you. I'll try to explain a little more detail. First read about version numbering: http://wiki.freepascal.org/Version_Numbering Now explanation: 1. In version 1.6.* this bug will never fixed. 2. In develoding version 1.7 it was already fixed (long time ago). 3. You can use 1.7 (trunk) right now, but it is not recommended because developing version may contain other errors. 4. After short time (maybe few weeks) will released 1.8RC1 (1.8 release candidate 1). This version will not contain this bug. (After will 1.8RC2 and maybe 1.8RC3) 5. Over 2-3 months will released 1.8 for common use. Without this bug. The door is open? P.S. Before releasing 1.8RC1 may be released 1.6.6 there this bug is not fixed. ---------------------------------------------------------------------- JuhaManninen · 2017-04-08 11:54 Quote from: FTurtle on April 08, 2017, 12:39:03 pm4. After short time (maybe few weeks) will released 1.8RC1 (1.8 release candidate 1). This version will not contain this bug. (After will 1.8RC2 and maybe 1.8RC3) Some inside information: Mattias will branch 1.8 already this weekend, today or tomorrow. 1.8RC1 should follow soon after. The new fixes_1_8 branch will be good for testing for anybody as it will get only bug fixes. Actually I recommend it for anybody who has problems with 1.6.x releases. QuoteP.S. Before releasing 1.8RC1 may be released 1.6.6 there this bug is not fixed. Possible but not very likely. The limited resources will be used for 1.8. Quote from: mars on April 08, 2017, 03:47:55 amI do not know where the problem is, but those who have developed the program will surely know. Uhhh! You clearly have no experience developing a big multi-million LOC project. Often fixing a bug requires hours and hours of studying the relevant code although the actual fix may be just a few lines of code. Nobody knows all the code. There are dark corners that nobody knows about. You can try how it goes. Pick the most annoying bug from   http://bugs.freepascal.org/ then dive into the code and fix the bug. ---------------------------------------------------------------------- FTurtle · 2017-04-08 12:19 Quote from: JuhaManninen on April 08, 2017, 01:54:02 pmSome inside information Thank you. ---------------------------------------------------------------------- mars · 2017-04-11 05:59 Quote from: JuhaManninen on April 08, 2017, 01:54:02 pmUhhh! You clearly have no experience developing a big multi-million LOC project. Often fixing a bug requires hours and hours of studying the relevant code although the actual fix may be just a few lines of code. Nobody knows all the code. There are dark corners that nobody knows about. You can try how it goes. Pick the most annoying bug from http://bugs.freepascal.org/ then dive into the code and fix the bug. I want to apologize for saying that the authors should know where the problem is. For JuhaManninen, Global, Moderator and Hero Member I would like to inform you that I've been programming computers since 1970. Has this Hero Member been born yet? And I ask what is a Hero Member? Someone who writes at least once a day? Big Deal. Thank you very much for all the information, hoping that there are no snippy answers and I will recommend Delphi to my students. More seriousness in this Forum, would not hurt anyone. Excuse me, again, for imagining that the authors of the system know what they are doing. Parodying the Hero Member: Uhhh! Free software is that. No one is responsible. Use at your own risk. And do not complain. Even if you are educated and suggest something important, this does not interest us. Buy one better. Great answers from those who do not know what they are talking about. Destroying the image of a system that could be good is very simple. And some Heroes do it very well. I hope to never be a Hero Member. I prefer to be a mortal and ignorant, who has been programing for over 47 years. But without being Hero. Just a mortal who has already developed hundreds of systems. And enough Thank you very much for all the information, hoping that there are no snippy answers and I will recommend Delphi to my students. The Delphi authors do not say they do not know where the error lies. Delphi authors do not make mock requests or comments from users. I tried to spread Lazarus, but I wasted my time. Thank you very much for all the information, hoping that there are no snippy answers and I will recommend Delphi to my students. ---------------------------------------------------------------------- mars · 2017-04-11 06:12 Quote from: FTurtle on April 08, 2017, 12:39:03 pmYou trying break through the open door. You just not quite understood what they told you. I'll try to explain a little more detail. First read about version numbering: http://wiki.freepascal.org/Version_Numbering Now explanation: ... Excuse. No comments. Read the previous message. ---------------------------------------------------------------------- balazsszekely · 2017-04-11 06:29 @mars You must be joking.  QuoteExcuse me, again, for imagining that the authors of the system know what they are doing.Just open $(LazarusDir)\IDE\lazarus.lpi and see for yourself how big the IDE really is. QuoteThe Delphi authors do not say they do not know where the error lies. Delphi authors do not make mock requests or comments from users.Delphi authors a paid programmers. FPC/Lazarus developers on the other hand are volunteers, working for free, spending countless hours developing, debugging, etc... QuoteI tried to spread Lazarus, but I wasted my time. Thank you very much for all the information, hoping that there are no snippy answers and I will recommend Delphi to my students.Seriously how old are you? You're acting like a kid. ---------------------------------------------------------------------- Thaddy · 2017-04-11 07:04 That's generally the case with geriatric programmers. (No offence, I lost some eyesight as well) Their keyboard still works but the're not capable of RTFM anymore. There's one other thing: (I suffer from the same thing as well, and I just started in 1978) They loose hearing - in my case caused by 40 years of Marshall stack -, so they are not capable of listening to sound advice. I would advice him to select a large font -even with glasses on - and buy a hearing aid. Just in case: to enlarge text on a modern tablet you spread two fingers, don't use a chalk or crayon. And don't use a monitor that is too large for your neck-muscles. ---------------------------------------------------------------------- mars · 2017-04-11 07:09 GetMem. 1,528 posts per day. WOW! Another Hero. Read my previous posts. Read, read and read. Do not be another precipitate, answering without even knowing about what you say. If I've been programming since 1970, you can easily imagine my age. Do not be a child by saying that I am acting as such. I'm tired of hearing from Heroes that Lazarus is huge and that you can not find the mistakes. I'm trying to help. And the Heroes are trying to defend themselves. What is going on? Worse than that is when a Hero says: debug the source on your own and solve the problem. What is this forum for? For Heroes to defend mistakes without even thinking before answering? Read, think, read, think, read, think, even if the neurons get crazy. It's good. When I started programming, errors like these were inadmissible. Stop it. Since you asked my age, how old are you? Comparing the authors of Delphi with the authors of Lazarus? Child thing. Nobody gets to do something, saying "it's free, so it does not have to be good." I'm trying to cooperate, but if I'm not welcome, some big boy, like you, inform and I'm off. That simple. I want Lazarus to be great. I want to tell my students that they should use Lazarus. I want to help, but I can not bear to read ragged apologies. Just this. Answer smart things. And I repeat what I wrote earlier: do not answer, if you do not have something useful to say. ---------------------------------------------------------------------- mars · 2017-04-11 07:16 Thaddy. I'm trying to collaborate. And here comes a clown as you go. Now I get it. Lazarus is a thing of brats and clowns like you. More a fool who thinks the world started when you were born. ---------------------------------------------------------------------- mars · 2017-04-11 07:25 Thaddy. Excuse. You're a Hero, too. Wow. As a child, like the others. I guess my senility did not allow me to notice. ---------------------------------------------------------------------- mars · 2017-04-11 07:27 Will any moderator of this Forum take action with the offenses clowns make? Or is Lazarus himself a fool? ---------------------------------------------------------------------- balazsszekely · 2017-04-11 07:29 @mars The sad part is you're a teacher. Anyway I'm detaching myself from this thread. ---------------------------------------------------------------------- mars · 2017-04-11 07:34 The sad part is the answers and the offenses that I receive in this Forum. If everyone was here to collaborate, there would be no sad part. ---------------------------------------------------------------------- mars · 2017-04-11 07:53 Very good. No answers and no ragged excuses. But where are the moderators who do not check the offenses to those who want to collaborate? Is it necessary to have an average of 1.5 messages per day and be Hero to be considered a good contributor? Please do not answer. The responses I received were all evasive or offensive. Goodbye Lazarus. I thought it would be good to recommend you to my students. But there are many Heroes devoid of neurons. Not all, but many. Unfortunately, Very sad, but the world is like that. ---------------------------------------------------------------------- Thaddy · 2017-04-11 08:34 At least normally we have a emeritus style for professors here in the Netherlands for teaching professors after 72. Unless you had in the very late sixties access to computers(?) as a kid. Anyway, just have a laugh and try to explain what bothers you a little bit better. (I have a mode for your type of reaction, its called grumpy, just put "< Grumpy mode on:    > it is accepted) If you still accept https://en.wikipedia.org/wiki/Fermat%27s_Last_Theorem as unsolvable  (as a life guidance) you've lost the plot ---------------------------------------------------------------------- jma_sp · 2017-04-11 08:49 Buenos días a tod@s....    Dejando aparte piques  sobre quien es mejor o peor programando o experiencia / conocimiento.... Yo también he observado el parpadeo del menú, es un poco molesto.    No se si va asociado pero en un formulario que incluye bastantes dbedit dbmemo.... con bastante frecuencia el fondo se pone de color negro, también en los dbmemo. Minimizando y volviendo a maximizar hace el referesco y se vuelve a ver bien pero al rato suele suceder de nuevo.   Otras veces resalta el marco del componente sin más o pone en negro áreas del formulario. Esto hace bastante poco usable el programa.    Si es por algún paquete instalado no se cual puede ser, si se ha corregido para la próxima versión, bien venido sea ya que mientras puedo seguir avanzando el programa.    Dicho esto, desde que llevo utilizando Lazarus siempre he tenido alguna pega que molesta el resultado, pero lo que hay que comprender en todo momento es lo que se ha dicho:    Es un proyecto libre, hay gente que no solo lo utiliza sino que contribuye con parches o lo afianza, avanzando en sus características, otros que no tenemos tanto conocimiento agradecemos profundamente sus contribuciones y esperamos que quizá algún día podamos ayudar mas a hacer de FreePascal / Lazarus algo mejor.   A mars le diría que ya que indica una larga experiencia que es bien venido al proyecto  , donde tiene a su alcance todo el código fuente  , algo muy valorable a nivel educativo, cosa que con Delphi es harto difícil. Las personas que desarrollan el conjunto no siempre están visibles y no es cuestion de heroes o villanos, que es una forma del foro de marcar una evolución en el mismo.    Como indica JuhaManninen ¿quien conoce todo el código? la solución a un problema puede estar en unas cuantas líneas de código pero hay que revisarse grandes bloques y entender como funcionan (no todos somos capaces de eso), eso es tiempo, dedicación y esperemos que un profesor como mars lo entienda y que transmita que se puede utilizar tanto Delphi como Lazarus y que pueden disfrutar de ambas opciones y aprender mucho de ellas, de forma que si quieren algún día contribuyan aquí. .    Yo personalmente valoro mucho el esfuerzo y dedicación que año a año realizan las personas del proyecto haciéndolo posible, un equipo de gente sin el cual este sería un proyecto más olvidado.   Delphi está muy bien, para mi sin embargo en precio no es accesible  pero espero que siga muchos años en el mercado, me parece estupendo aparte que es un gran apoyo para FreePascal / Lazarus.    Espero que siga el buen rollito y paren los piques  , el resto de problemas de código seguro que se corrigen sobre la marcha que yo creo que nos interesa a todos que funcione lo mejor posible. Saludos. ---------------------------------------------------------------------- Thaddy · 2017-04-11 09:00 - Long experience can make you blind for critisicm if it is not in the direction that you had in mind in the first place. Trump's syndrom. - Juha certainly does not know everything. He knows part of the universe, - his own stellar system called UTF8 lazarus- extremely well, but hasn't got a sufficiently large telescope to look in-depth at the universe. (He knows that's both a compliment and critique) ---------------------------------------------------------------------- Ondrej Pokorny · 2017-04-11 13:44 Was my 2-lines post a trigger for all of this? Uhh  Mars, for your information: we have a bug tracker mantis.freepascal.org and it has a search function. If you use it, you find http://mantis.freepascal.org/view.php?id=30760 that states the bug was fixed in revision 54332. Then you open our online SVN viewer with that revision number http://svn.freepascal.org/cgi- bin/viewvc.cgi?view=revision&root=lazarus&revision=54332 and can see the changes http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/ide/sou rcefilemanager.pas?root=lazarus&r1=54332&r2=54331&pathrev=54332. No big thing. I hope you can search yourself the next time - I bet you spend less time searching than writing long posts about arrogant developers and forum heros ---------------------------------------------------------------------- FTurtle · 2017-04-11 17:01 Just in case: Revision: 54332 Author: ondrej Date: 15:53:21, 3 марта 2017 г. Message: IDE: fix changed-conditions for source editor commands. Issue 30760 ---- Modified : /trunk/ide/sourcefilemanager.pas --- Temp/sourcefilemanager.pas-rev54331.svn000.tmp.pas +++ Temp/sourcefilemanager.pas-rev54332.svn000.tmp.pas @@ -524,11 +524,11 @@  begin    Result := not(          (FSrcEdit = ASrcEdit) -    and (ASrcEdit <> nil) -    and (FSrcEditLocked = ASrcEdit.IsLocked) -    and (FSourceNotebook = ASrcEdit.SourceNotebook) -    and (FPageIndex = ASrcEdit.SourceNotebook.PageIndex) -    and (FPageCount = ASrcEdit.SourceNotebook.PageCount) +    and ((ASrcEdit = nil) or ( +            (FSrcEditLocked = ASrcEdit.IsLocked) +        and (FSourceNotebook = ASrcEdit.SourceNotebook) +        and (FPageIndex = ASrcEdit.SourceNotebook.PageIndex) +        and (FPageCount = ASrcEdit.SourceNotebook.PageCount)))      );    if not Result then Exit; @@ -550,10 +550,10 @@  begin    Result := not(          (FSrcEdit = ASrcEdit) -    and (ASrcEdit <> nil) -    and (FDisplayState = ADisplayState) -    and (FEditorComponentStamp = ASrcEdit.EditorComponent.ChangeStamp) -    and (FEditorCaretStamp = ASrcEdit.EditorComponent.CaretStamp) +    and ((ASrcEdit = nil) or ( +            (FDisplayState = ADisplayState) +        and (FEditorComponentStamp = ASrcEdit.EditorComponent.ChangeStamp) +        and (FEditorCaretStamp = ASrcEdit.EditorComponent.CaretStamp)))      );    if not Result then Exit; ---------------------------------------------------------------------- FTurtle · 2017-04-11 17:15 By the way, mars. Did you try to assume that a person who can answer the question simply did not look into this topic?