Subject: lib/17305: libmenu bug
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rtr@wasabisystems.com>
List: netbsd-bugs
Date: 06/18/2002 14:46:15
>Number:         17305
>Category:       lib
>Synopsis:       libmenu's fail to display menu mark
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 17 22:51:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     rtr
>Release:        NetBSD 1.5.1
>Organization:

>Environment:
System: NetBSD elysium 1.5.1 NetBSD 1.5.1 (elysium) #0: Tue Aug 21 15:02:47 EST 2001 rtr@elysium:/usr/src/sys/arch/i386/compile/elysium i386


>Description:
	libmenu menu mark is not displayed on menus, the problem is that it's
	either replaced with whitespace or it is painted the same color as the
	bg color of the term.  Changing the mark with set_menu_mark() has no
	effect other than to shift the characters depending on the length of
	the mark.
>How-To-Repeat:
	Just use libmenu to build a menu and experiment by giving it marks of
	different lengths.  The text will move as if the mark is there but it
	won't appear.
>Fix:
	It's likely the error is in lib/libmenu/internals.c in the function
	_menui_draw_item() but I am not entirely sure.

	
>Release-Note:
>Audit-Trail:
>Unformatted: