Share

xdvik

Tracker: Bugs

5 find: hilghliting not visible on Solaris - ID: 850788
Last Update: Comment added ( stefanulrich )

While using find on Solaris, the highlight does not
work. The matched string "whites out" for a short
time, ie., it disapears and then reappears unchanged.


Ulrich Scholz ( hagbart ) - 2003-11-28 15:54

5

Closed

Fixed

Stefan Ulrich

X interface

system-dependent

Public


Comments ( 5 )




Date: 2003-12-01 00:50
Sender: stefanulrichProject Admin

Logged In: YES
user_id=177175

Fixed in 22.77.4-CVS2.


Date: 2003-11-30 13:21
Sender: hagbart

Logged In: YES
user_id=810188

> Was it grey instead of black background on the PC before?

If I remember correctly: Yes

> Does it look like the screenshot above on both systems with
> GXinvert?

Yes


Date: 2003-11-29 14:20
Sender: stefanulrichProject Admin

Logged In: YES
user_id=177175

> values.function = GXinvert; works fine, but (on my PC) it is
> not as nice as the grayed out version.

Hmm, actually it was supposed to be inverted (white on
black), as on:
http://xdvi.sourceforge.net/find-hl.gif
Was it grey instead of black background on the PC before?
Does it look like the screenshot above on both systems with
GXinvert?


Date: 2003-11-29 09:22
Sender: hagbart

Logged In: YES
user_id=810188

The output is

foreground: 0x1, white pixel: 0x0,
black pixel: 0x1

values.function = GXinvert; works fine, but (on my PC) it is
not as nice as the grayed out version.


Date: 2003-11-28 16:24
Sender: stefanulrichProject Admin

Logged In: YES
user_id=177175

What is printed out if you add the lines marked by `+' below
after line 241 in search-internal.c?

}
else {
values.foreground = WhitePixelOfScreen(SCRN) ^
BlackPixelOfScreen(SCRN);
+ fprintf(stderr, "foreground: 0x%lx, white pixel: 0x%lx,
black pixel: 0x%lx\n",
+ values.foreground, WhitePixelOfScreen(SCRN),
BlackPixelOfScreen(SCRN));
valuemask = GCFunction | GCForeground;
}
bboxGC = XCreateGC(DISP, XtWindow(top_level),
valuemask, &values);

? Is there any change if you replace the line
values.function = GXxor;
by
values.function = GXinvert;
?


Log in to comment.




Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2003-12-01 00:50 stefanulrich
resolution_id None 2003-12-01 00:50 stefanulrich
close_date - 2003-12-01 00:50 stefanulrich
category_id None 2003-11-28 16:24 stefanulrich
assigned_to nobody 2003-11-28 16:24 stefanulrich