Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-06

Blinks when clicks in a tab editor

17 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marcos Douglas

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

Reply by email

Graeme Geldenhuys
to Mattias Gaertner
Mattias Gaertner wrote
What 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.

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys
Graeme Geldenhuys wrote
Though 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.

Reply by email

Marcos Douglas
to Marcos Douglas
Marcos Douglas wrote 14 lines
On Sun, Jun 2, 2013 at 4:16 AM, Mattias Gaertner wrote: > On Sat, 1 Jun 2013 23:08:52 -0300 > Marcos Douglas wrote: > >> Hi, >> >> When I click in a tab editor blinks but not using Ctrl+TAB. > > What blinks? The same that Graeme said, ie, the whole editor window blinks. I use a dark (black) text editor theme too.

Mattias,
Did you reproduced the problem?

Marcos Douglas

Reply by email

Mattias Gaertner
to Marcos Douglas
Show quoted text 18 lines
On Sun, Jun 2, 2013 at 8:20 AM, Marcos Douglas wrote: > On Sun, Jun 2, 2013 at 4:16 AM, Mattias Gaertner > wrote: >> On Sat, 1 Jun 2013 23:08:52 -0300 >> Marcos Douglas wrote: >> >>> Hi, >>> >>> When I click in a tab editor blinks but not using Ctrl+TAB. >> >> What blinks? > > The same that Graeme said, ie, the whole editor window blinks. > I use a dark (black) text editor theme too. > Mattias, Did you reproduced the problem?

No.
I guess it happens only on some Window managers.

Mattias

Reply by email

Martin
to Mattias Gaertner
Mattias Gaertner wrote 21 lines
On Sun, 9 Jun 2013 11:17:09 -0300 Marcos Douglas wrote: > On Sun, Jun 2, 2013 at 8:20 AM, Marcos Douglas wrote: >> On Sun, Jun 2, 2013 at 4:16 AM, Mattias Gaertner >> wrote: >>> On Sat, 1 Jun 2013 23:08:52 -0300 >>> Marcos Douglas wrote: >>> >>>> Hi, >>>> >>>> When I click in a tab editor blinks but not using Ctrl+TAB. >>> What blinks? >> The same that Graeme said, ie, the whole editor window blinks. >> I use a dark (black) text editor theme too. >> > Mattias, > Did you reproduced the problem? No. I guess it happens only on some Window managers.

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.

Reply by email

Graeme Geldenhuys
to Martin
Martin wrote
Afaik 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 -

Reply by email

Graeme Geldenhuys
to Mattias Gaertner: On Sun, 9 Jun 2013 11:17:09 -0300 No. I guess it happens only on some Window managers.…
Mattias Gaertner wrote
I 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 -

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 14 lines
On 2013-06-09 20:31, Mattias Gaertner wrote: > > I 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.

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

Reply by email

Graeme Geldenhuys
to Mattias Gaertner
Mattias Gaertner wrote
I 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 -

Reply by email

Marcos Douglas
to Graeme Geldenhuys
Graeme Geldenhuys wrote 27 lines
On 2013-06-10 09:34, Mattias Gaertner wrote: > > I 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! :-/

Sorry. :-/ hehehe

Works on WinXP (I still have not updated). I will update and test on Win7~8.

Marcos Douglas

Reply by email

Mattias Gaertner
to Graeme Geldenhuys: It's better... ie: not every tab switch causes the white flash. But switching between…
Show quoted text 10 lines
On 2013-06-10 09:34, Mattias Gaertner wrote: > > I 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.

Please test with 41670.

Show quoted text 16 lines
[...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! :-/

Mattias

Reply by email

Marcos Douglas
to Mattias Gaertner
Mattias Gaertner wrote 15 lines
On Mon, 10 Jun 2013 15:32:52 +0100 Graeme Geldenhuys wrote: > On 2013-06-10 09:34, Mattias Gaertner wrote: > > > > I 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. Please test with 41670.

Not yet... =\
Doesn't work on Win7.

Marcos Douglas

Reply by email

Mattias Gaertner
to Marcos Douglas
Show quoted text 20 lines
On Mon, Jun 10, 2013 at 6:50 PM, Mattias Gaertner wrote: > On Mon, 10 Jun 2013 15:32:52 +0100 > Graeme Geldenhuys wrote: > >> On 2013-06-10 09:34, Mattias Gaertner wrote: >> > >> > I 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. > > Please test with 41670. Not yet... =\ Doesn't work on Win7.

No, only gtk2. I can't help you on Windows.

Mattias

Reply by email