Hi,
When I click in a tab editor blinks but not using Ctrl+TAB.
Lazarus 1.1 r41446 FPC 2.6.2 i386-win32-win32/win64
Marcos Douglas

Mailing lists / lazarus / 2013-06
17 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
When I click in a tab editor blinks but not using Ctrl+TAB.
Lazarus 1.1 r41446 FPC 2.6.2 i386-win32-win32/win64
Marcos Douglas
Hi, When I click in a tab editor blinks but not using Ctrl+TAB.
What blinks?
Lazarus 1.1 r41446 FPC 2.6.2 i386-win32-win32/win64
Mattias
Mattias Gaertner wroteWhat blinks?
I've seen this before too... The whole editor window blinks. eg: I have a dark (black) text editor theme. Sometimes I used to see the editor first paint white, then my dark theme - giving the blink effect when changing tabs.
Though I haven't seen this happen in a while.
Regards,
G.
Graeme Geldenhuys wroteThough I haven't seen this happen in a while.
I take that back... It still does it (under FreeBSD and Windows), I just got so used to it that I didn't really notice. Here the blink effect happens, irrespective of how I change editor tabs (keyboard or mouse).
G.
On Sat, 1 Jun 2013 23:08:52 -0300 What blinks? Mattias
The same that Graeme said, ie, the whole editor window blinks. I use a dark (black) text editor theme too.
Marcos Douglas
Mattias,
Did you reproduced the problem?
Marcos Douglas
No.
I guess it happens only on some Window managers.
Mattias
Afaik in is a windows w32/w64 issue.
IIRC there was something about the TPage doing an erase-background. But I may remember that wrong.
Martin wroteAfaik in is a windows w32/w64 issue.
Nope, I'm running FreeBSD 9.1 now, and before I ran Ubuntu 12.04 - both systems showed this problem.
Regards,
- Graeme -
On Sun, 9 Jun 2013 11:17:09 -0300 No. I guess it happens only on some Window managers.…
Mattias Gaertner wroteI guess it happens only on some Window managers.
It happens here under stock Gnome 2 desktop environment, and under JWM (Joe's Window Manager).
What is even more strange is that if I have a few tabs open, say 8 tabs in the editor. The "white flash" occurs with every tab change, except when I go from the 5th tab back to the 4th tab. This is reproducible with 5+ tabs, even after a Lazarus IDE restart and even reproducible between window manager switches (eg: Gnome 2 DE -> JWM or back).
So what makes tabs 4 & 5 special? I can video this if you wanted to see.
Regards,
- Graeme -
I could see a blink of synedits right column on some page changes. It is reproducible as long as the IDE is running. After a restart it was gone.
I found a suspicious gtk2 draw call and disabled it. Please test with 41658.
Mattias
Mattias Gaertner wroteI found a suspicious gtk2 draw call and disabled it. Please test with 41658.
It's better... ie: not every tab switch causes the white flash. But switching between some times, and depending on direction of tab switch, it still flashes white. I'm trying to find a pattern. So far if a tab causes a flash, it is always that tab, an then the opposite is true too.
[...few minutes of playing with IDE...]
OK, if my project session is saved with 8 tabs open, and I restart the IDE and my previous opened tabs are loaded... no white flashes occur switch between any or those 8 tabs. This is an improvement to how it was before. If I now open new tabs by clicking on the Project Inspector or on the listed files in a Package, and then switching to or from those newly opened files, will cause the white flashing again. It will also introduce one or two white flashes between the existing 8 open tabs I had. Say I now have 15 open tabs. Now if I save my project (with info of opened files), and the restart the IDE. Now all 15 tabs will not cause a white flash. Opening new files or closing any tabs, will randomly start the white flashing again.
I wish I can "unlike" Marco Douglas's original message. :) Since he mentioned it, I now notice the damn white flashes again! :-/
Regards,
- Graeme -
Sorry. :-/ hehehe
Works on WinXP (I still have not updated). I will update and test on Win7~8.
Marcos Douglas
It's better... ie: not every tab switch causes the white flash. But switching between…
Please test with 41670.
Mattias
Not yet... =\
Doesn't work on Win7.
Marcos Douglas
No, only gtk2. I can't help you on Windows.
Mattias
On Mon, 10 Jun 2013 15:32:52 +0100 Please test with 41670. Mattias
Mattias Gaertner wrotePlease test with 41670.
It seems to be fixed now (tested LCL-GTK2 only). Thanks Mattias.
I now found that Lazarus Trunk crashes every time on opening a specific file in fpGUI, but that is unrelated to this blink issue. I'll file a bug report for the crash.
Regards,
- Graeme -