Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 89827

Summary: [Widgets] Link widget does not provide hyperlinkBackgroundColor activeHyperlinkBackgroundColor etc...
Product: [Eclipse Project] Platform Reporter: Michael Van Meekeren <michaelvanmeekeren>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Felipe Heidrich <eclipse.felipe>
Severity: normal    
Priority: P3 CC: bradleyjames, dejan, eclipse, markus.kell.r, Mike_Wilson, peter
Version: 3.1Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
image none

Description Michael Van Meekeren CLA 2005-03-31 10:04:10 EST
When I set the the Hyperlink and Active Hyperlink colours in the "Colors and
Fonts" preference page, the links in the preference dialog do not use it.

see attached image
Comment 1 Michael Van Meekeren CLA 2005-03-31 10:06:24 EST
Created attachment 19406 [details]
image
Comment 2 Tod Creasey CLA 2005-04-27 15:12:30 EDT
We now use the SWT widget
Comment 3 Kim Horne CLA 2005-04-27 15:21:09 EDT
Still... we should be using the Jface values for this, not the SWT defaults...
shouldnt we?
Comment 4 Tod Creasey CLA 2005-04-27 15:26:01 EDT
We should likely just remove those settings altogether.
Comment 5 Kim Horne CLA 2005-04-27 15:29:04 EDT
No can do...they're API. 
Comment 6 Michael Van Meekeren CLA 2005-04-29 09:44:42 EDT
re-opening
Comment 7 Michael Van Meekeren CLA 2005-04-29 09:49:59 EDT
I'm moving this to SWT.  In order for us to fix the PreferenceLinkArea to be
able to set  other colors as link colors AND to be able to query the Link widget
in SWT for good link color defaults (or use SWT.???HyperLink_Color???) we need
some new API.  Until then the roled fake link widgets might support a hyperlink
color that is set in the UI and the SWT Link based ones will not.

So basically we need to set and get:
hyperlink color 
active hyperlink color

Comment 8 Dejan Glozic CLA 2005-04-29 10:21:03 EDT
(In reply to comment #5)
> No can do...they're API. 

And Eclipse Forms set the hyperlink default colors using JFace settings.
Comment 9 Felipe Heidrich CLA 2005-04-29 17:55:30 EDT
Windows doesn't provide API for that. SysLink control API is really poor.

What is the 'active hyperlink color', is it the foreground color of a 
hyperlink that has been visited,  or the foreground color of a hyperlink when 
the mouse pointer is over it?

Right now hyperlinks have two types of foreground color: normal (enabled), and 
disabled. No setter or getter.
Comment 10 Dejan Glozic CLA 2005-04-29 18:14:18 EDT
(In reply to comment #9)
> Windows doesn't provide API for that. SysLink control API is really poor.
> What is the 'active hyperlink color', is it the foreground color of a 
> hyperlink that has been visited,  or the foreground color of a hyperlink 
when 
> the mouse pointer is over it?

The later (i.e. hover foreground).
Comment 11 Steve Northover CLA 2005-05-02 08:38:21 EDT
>SysLink control API is really poor.

... but successfully used in many places in the Windows XP UI.
Comment 12 Mike Wilson CLA 2008-04-12 11:48:23 EDT
Should this depend on bug 181592?

Downgrading priority to better match reality.
Comment 13 Felipe Heidrich CLA 2009-08-19 08:43:47 EDT
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.
Comment 14 Leo Ufimtsev CLA 2017-08-03 12:34:33 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 15 Eclipse Genie CLA 2020-07-19 14:55:17 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.