Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
GTK2: hint not showing for disabled control
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[SOLVED] USB connected de...
by
Username
[
Today
at 12:00:47 am]
TThreadID on Mac - insigh...
by
AlanTheBeast
[June 28, 2022, 11:05:32 pm]
MySQL or MariaDB
by
Zvoni
[June 28, 2022, 11:00:54 pm]
How to install a new prop...
by
wp
[June 28, 2022, 10:55:53 pm]
Can Absolute be used on s...
by
MarkMLl
[June 28, 2022, 10:14:39 pm]
Populating and manipulati...
by
Handoko
[June 28, 2022, 09:15:29 pm]
Training program
by
pascal111
[June 28, 2022, 08:40:59 pm]
SOLVED Pack Files into on...
by
DreamVB
[June 28, 2022, 08:38:56 pm]
Array of Record as Proper...
by
Warfley
[June 28, 2022, 07:36:30 pm]
Center the text verticall...
by
ASerge
[June 28, 2022, 07:15:28 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: GTK2: hint not showing for disabled control (Read 221 times)
zoltanleo
Sr. Member
Posts: 408
GTK2: hint not showing for disabled control
«
on:
May 25, 2022, 05:46:56 pm »
Hi all.
I found a slightly strange behavior of the hint property for a disabled control. For win32/Сocoa widgetsets hint is displayed, for gtk2 it is not displayed.
Code: Pascal
[Select]
[+]
[-]
procedure
TForm1
.
FormCreate
(
Sender
:
TObject
)
;
begin
with
btnEnabled
do
begin
ShowHint
:
=
True
;
Enabled
:
=
True
;
Hint
:
=
'This is an enabled control'
;
end
;
with
btnDisabled
do
begin
ShowHint
:
=
True
;
Enabled
:
=
False
;
Hint
:
=
'This is disabled control'
;
end
;
end
;
What behavior is considered a bug?
Logged
Win10 LTSC x64/Deb 11 amd64/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.7
Sorry for my bad English, I'm using translator
zoltanleo
Sr. Member
Posts: 408
Re: GTK2: hint not showing for disabled control
«
Reply #1 on:
May 25, 2022, 05:49:31 pm »
linux behavior
https://i.imgur.com/bMnSfsq.gif
+ test project
Logged
Win10 LTSC x64/Deb 11 amd64/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.7
Sorry for my bad English, I'm using translator
zeljko
Hero Member
Posts: 1262
Re: GTK2: hint not showing for disabled control
«
Reply #2 on:
May 25, 2022, 05:55:33 pm »
It works on qt,qt5,win32 and cocoa, so it's definitelly bug. Please open issue at bugtracker and attach provided project1.zip from here.
Logged
zoltanleo
Sr. Member
Posts: 408
Re: GTK2: hint not showing for disabled control
«
Reply #3 on:
May 25, 2022, 10:03:11 pm »
Done
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39772
Logged
Win10 LTSC x64/Deb 11 amd64/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.7
Sorry for my bad English, I'm using translator
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
GTK2: hint not showing for disabled control
TinyPortal
© 2005-2018