Ticket #164 (closed usability: duplicate)

Opened 2 years ago

Last modified 6 months ago

PGPLOT X11 window not redrawing with X11 2.3.1

Reported by: jamie@… Owned by: jeremyhu@…
Priority: Expected Milestone: 2.3.2
Component: xserver Version: 2.3.1 (xserver-1.4)
Keywords: Cc:

Description

PGPLOT, a library for plotting utilized frequently by astronomers, no longer works correctly when using its X11 plotting device with X11 2.3.1. Initial plotting works, however modifications made to the plot which would previously change the plot in real time in the X11 window, no longer register and the X11 window remains static with its original contents. The only way to update the window is to change to a different plot device, close the X11 window and its server window, and then restart the X11 window. This must repeated to show any changes.

Change History

  Changed 2 years ago by groelofs@…

The window indeed does not get redrawn anymore since version 2.3.1, *unless* the PGPLOT window has focus. This might shed some light on what's going on (for most cases it's not a solution).

  Changed 2 years ago by jamie@…

This bug was not present in or before 2.3.1rc5. Presumably linked to the changes in visuals made in rc6 and later.

follow-up: ↓ 5   Changed 2 years ago by jeremyhu@…

Do you know what visual pgplot is using?

  Changed 2 years ago by jeremyhu@…

  • priority changed from major to critical
  • status changed from new to assigned

in reply to: ↑ 3   Changed 2 years ago by jamie@…

Replying to jeremyhu@…:

Do you know what visual pgplot is using?

According to xwininfo: 8-bit Pseudocolor.

follow-up: ↓ 7   Changed 2 years ago by jeremyhu@…

What is the output of:

defaults read org.x.x11 depth

in reply to: ↑ 6   Changed 2 years ago by jamie@…

Replying to jeremyhu@…:

What is the output of: defaults read org.x.x11 depth

-1

follow-ups: ↓ 9 ↓ 10   Changed 2 years ago by jeremyhu@…

Does this problem occur if you enable 256 color mode in X11->Preferences->Output?

in reply to: ↑ 8   Changed 2 years ago by jamie@…

Replying to jeremyhu@…:

Does this problem occur if you enable 256 color mode in X11->Preferences->Output?

It works if I use 256 color mode.

in reply to: ↑ 8   Changed 2 years ago by groelofs@…

Replying to jeremyhu@…:

Does this problem occur if you enable 256 color mode in X11->Preferences->Output?

I've found that starting the PGPLOT server with "pgxwin_server -win_visual truecolor" works in my case. Selecting 256 color mode in X11->Preferences->Output does not work, unless perhaps I restart X11 completely instead of just the pgxwin server (which I haven't tried).

  Changed 2 years ago by jeremyhu@…

  • status changed from assigned to closed
  • resolution set to duplicate

Yes, if you change the color mode, you need to restart X11.

Note: See TracTickets for help on using tickets.