Should we remove underlines for all links?

Should we remove underlines for all links?

Yes
4
80%
No
1
20%
 
Total votes: 5

User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: Should we remove underlines for all links?

Post by Josef Templ »

All these examples underline a link when the mouse is moved over it.
Without this effect the new links would still not be state-of-the-art
and neither following the old convention nor the new.

- Josef
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: Should we remove underlines for all links?

Post by Robert »

I voted no.

If someone came up with a simple and efficient implementation that underlines links actively when the mouse is on them I would consider changing my mind.

Robert
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: Should we remove underlines for all links?

Post by Josef Templ »

Robert wrote:I voted no.

If someone came up with a simple and efficient implementation that underlines links actively when the mouse is on them I would consider changing my mind.

Robert

Me too.

- Josef
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: Should we remove underlines for all links?

Post by Ivan Denisov »

I have finished the demo of this feature:
http://blackboxframework.org/unstable/i ... a1.433.zip

Please, check the Help dialog (F1). I removed underlines from it.

I really like how it looks.

The way I did this
http://redmine.blackboxframework.org/pr ... a68f8cb0bb
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: Should we remove underlines for all links?

Post by Josef Templ »

Excellent!

- Josef
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: Should we remove underlines for all links?

Post by Robert »

Works nicely.

I assume the implementation can be described as "Simple & efficient & reliable".

I have changed my vote to yes.
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: Should we remove underlines for all links?

Post by Ivan Denisov »

There are some problems, so this is not final solution.
1. Focus edit field blinking
2. Sometimes controls lost focus (i assume) and clicking from second attempt
Attachments
Links.odc.zip
(8.7 KiB) Downloaded 220 times
luowy
Posts: 234
Joined: Mon Oct 20, 2014 12:52 pm

Re: Should we remove underlines for all links?

Post by luowy »

I'm just show the link cmd on the status bar,
without touch the underline attributes,it is too heavy work to do for me.


StdLinks

Code: Select all

VAR cmdString:POINTER TO ARRAY OF CHAR;
StdLinks.HandleCtrlMsg

Code: Select all

	BEGIN(*HandleCtrlMsg*)
		WITH msg: Controllers.PollCursorMsg DO
			msg.cursor := Ports.refCursor;
		| msg: TextControllers.FilterPollCursorMsg DO
			IF isHot(msg.controller, msg.x, msg.y, {}) THEN
				msg.cursor := Ports.refCursor; msg.done := TRUE;
				(*>>*)
				IF (v.leftSide)&(v.cmd # cmdString) THEN  
					Dialog.ShowStatus(v.cmd);cmdString:=v.cmd; 
				END;
			ELSE 
				IF cmdString # NIL THEN 
					Dialog.ShowStatus("");cmdString:=NIL;
				END;  
				(*>>*)
			END
		| msg: Controllers.TrackMsg DO
			Track(v, f, NIL, msg.x, msg.y, msg.modifiers)
		| msg: TextControllers.FilterTrackMsg DO
			IF isHot(msg.controller, msg.x, msg.y, msg.modifiers) THEN
				Track(v, f,  msg.controller, msg.x, msg.y, msg.modifiers);
				msg.done := TRUE
			END
		ELSE
		END
	END HandleCtrlMsg;
TextControllers.FindFilter

Code: Select all

	PROCEDURE FindFilter  (c: StdCtrl; f: Views.Frame; x, y: INTEGER; OUT filter : Views.View);
		CONST catchRange = 1000;
		VAR rd: TextModels.Reader; pos, beg, end: INTEGER; isF: BOOLEAN;
	BEGIN
		c.view.GetRange(f, beg, end); DEC(beg, catchRange);
		pos := c.view.ThisPos(f, x, y);
		IF pos < c.text.Length() THEN INC(pos) END;	(* let filter handle itself *)
		rd := CachedReader(c); rd.SetPos(pos);
		REPEAT
			rd.ReadPrevView(filter);
			isF := (filter # NIL) & IsFilterView(filter, c, f, x, y);
		UNTIL isF OR rd.eot OR (rd.Pos() < beg);
		IF ~isF THEN filter := NIL END;
		(*<<*)
		IF filter=NIL THEN (*right*)
			rd.SetPos(pos);
			REPEAT
				rd.ReadView(filter);
				isF := (filter # NIL) & IsFilter (filter, c, f, x, y);
			UNTIL isF OR rd.eot OR (rd.Pos() >=end );
		END;
		(*>>*)
		CacheReader(c, rd)
	END FindFilter ;
Zinn
Posts: 476
Joined: Tue Mar 25, 2014 5:56 pm
Location: Frankfurt am Main
Contact:

Re: Should we remove underlines for all links?

Post by Zinn »

I try the underline sample and the status line sample together and my conclusion is:
It looks much better when I use the status line sample only by its own.
We needn't to underline the link during pointing on it.
The cursor change from the caret to the hand and that is really enough.
- Helmut
Post Reply