Sign in Join

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

Mailing lists / lazarus / 2018-02

ghost selector in form editor

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Luca Olivetti

I've been seeing this from time immemorial, probably since 0.something, both under windows and linux/gtk/qt (though under linux is much more frequent):

when I select an object on the form, sometimes I see a ghost selection (or more than one, see the attached screenshots, first one windows, second one linux/gtk).

This is lazarus 1.8.0/fpc 3.0.4 but, as I said, I saw this with every previous lazarus version.

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -------------- next part -------------- A non-text attachment was scrubbed... Name: ghost_lazarus.png Type: image/png Size: 1897 bytes Desc: not available URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180215/7cb88f92/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: ghost_lazarus2.png Type: image/png Size: 1503 bytes Desc: not available URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180215/7cb88f92/attachment-0001.png>

Reply by email

Juha Manninen
to Luca Olivetti
Luca Olivetti wrote
I've been seeing this from time immemorial, probably since 0.something, both under windows and linux/gtk/qt (though under linux is much more frequent):

There is an oldish report:
https://bugs.freepascal.org/view.php?id=23741
but I don't remember seeing this problem although I have used many Linux distributions and few Windows versions, too. What can make the difference?
Does it happen only with particular forms or with any form?

Juha

Reply by email

Vojtěch Čihák

Hi,
 
I can simulate this on Qt in several ways:
1) select two components on different tabs of page control, one of them will be ghost
2) some components can be hidden behind other, it is caused by wrong Z-order, for example TSpeedButton behind enlarged non-transparent TLabel or TStaticText. and probably other ways.
 
BTW, what control is that "Status no valido!" caption? Isn't it the case no.2?  
V.
 
______________________________________________________________

Show quoted text 5 lines
Od: Luca Olivetti via Lazarus Komu: Datum: 15.02.2018 09:10 Předmět: [Lazarus] ghost selector in form editor

I've been seeing this from time immemorial, probably since 0.something, both under windows and linux/gtk/qt (though under linux is much more frequent):

when I select an object on the form, sometimes I see a ghost selection (or more than one, see the attached screenshots, first one windows, second one linux/gtk).

This is lazarus 1.8.0/fpc 3.0.4 but, as I said, I saw this with every previous lazarus version.

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es/ <http://www.wetron.es/> Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007 ---------- --

Reply by email

Luca Olivetti
to Vojtěch Čihák

El 18/02/18 a les 02:41, Vojtěch Čihák via Lazarus ha escrit:

Show quoted text 6 lines
Hi, I can simulate this on Qt in several ways: 1) select two components on different tabs of page control, one of them will be ghost

That I think it's a different issue (and, IIRC, I saw that too). In this case it's just a plain form.
As I said, I seen this for a long, long time. Much more often with linux than with windows.
E.g., see the attached screenshot (linux/gtk), I just created a new application and dropped a label on the form. That's all.

Show quoted text 9 lines
2) some components can be hidden behind other, it is caused by wrong Z-order, for example TSpeedButton behind enlarged non-transparent TLabel or TStaticText. and probably other ways. BTW, what control is that "Status no valido!" caption? Isn't it the case no.2?

It' just a label

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -------------- next part -------------- A non-text attachment was scrubbed... Name: ghost_lazarus3.png Type: image/png Size: 2252 bytes Desc: not available URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180218/6d28eb3b/attachment.png>

Reply by email

Luca Olivetti
to Juha Manninen: On Thu, Feb 15, 2018 at 10:10 AM, Luca Olivetti via Lazarus There is an oldish report:…

El 18/02/18 a les 01:17, Juha Manninen via Lazarus ha escrit:

Show quoted text 11 lines
On Thu, Feb 15, 2018 at 10:10 AM, Luca Olivetti via Lazarus wrote: > I've been seeing this from time immemorial, probably since 0.something, both > under windows and linux/gtk/qt (though under linux is much more frequent): There is an oldish report: https://bugs.freepascal.org/view.php?id=23741 but I don't remember seeing this problem although I have used many Linux distributions and few Windows versions, too. What can make the difference? Does it happen only with particular forms or with any form?

I don't know. I'm currently using kubuntu 17.10 and a windows 7 virtual machine, but I've seen it with windows xp and my previous linux distributions (older versions of kubuntu, mageia, mandriva). In any case, I'm not sure the cause it's the same both on windows and linux: in linux it's enough to drop a label on a form, and when I move it the position of the ghost selector diverges from the real one

https://www.youtube.com/watch?v=ZteRShCdkDA

under windows I need a more complex form and the ghost selector moves in sync with the real one.
Notice also how the ghost selector of the string grid is just one point.

https://www.youtube.com/watch?v=EY92B46URZ8

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007

Reply by email

Luca Olivetti
to Luca Olivetti

El 18/02/18 a les 10:24, Luca Olivetti via Lazarus ha escrit:

Show quoted text 29 lines
El 18/02/18 a les 01:17, Juha Manninen via Lazarus ha escrit: > On Thu, Feb 15, 2018 at 10:10 AM, Luca Olivetti via Lazarus > wrote: >> I've been seeing this from time immemorial, probably since >> 0.something, both >> under windows and linux/gtk/qt (though under linux is much more >> frequent): > > There is an oldish report: >   https://bugs.freepascal.org/view.php?id=23741 > but I don't remember seeing this problem although I have used many > Linux distributions and few Windows versions, too. > What can make the difference? > Does it happen only with particular forms or with any form? I don't know. I'm currently using kubuntu 17.10 and a windows 7 virtual machine, but I've seen it with windows xp and my previous linux distributions (older versions of kubuntu, mageia, mandriva). In any case, I'm not sure the cause it's the same both on windows and linux: in linux it's enough to drop a label on a form, and when I move it the position of the ghost selector diverges from the real one https://www.youtube.com/watch?v=ZteRShCdkDA under windows I need a more complex form and the ghost selector moves in sync with the real one. Notice also how the ghost selector of the string grid is just one point. https://www.youtube.com/watch?v=EY92B46URZ8

The plot thickens:

while the ghost selector of a label diverges from the real one, the ghost selector of other controls moves in sync:

https://www.youtube.com/watch?v=wTAKaYIM8_U

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007

Reply by email

Luca Olivetti
to Luca Olivetti

El 18/02/18 a les 10:31, Luca Olivetti via Lazarus ha escrit:

Show quoted text 7 lines
The plot thickens: while the ghost selector of a label diverges from the real one, the ghost selector of other controls moves in sync: https://www.youtube.com/watch?v=wTAKaYIM8_U

Meanwhile, I compiled the ide with qt5 and it doesn't show the problem, while with gtk, see the link, ouch!. I only selected the "PLANTA OFICINES" label.

https://imgur.com/a/FSt5f

Under windows it would "only" show one ghost selector.

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007

Reply by email