Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#4 closed defect (fixed)

Vertical 'pillars' appearing out of the stat bars of ParciHUD

Reported by: Henrik Heimbuerger Owned by: parcival
Priority: critical Milestone: 1.76
Component: HUD: Parci-style Version: 1.75
Keywords: white lines, vertical Cc:

Description (last modified by Henrik Heimbuerger)

Reproduction steps:

  1. Install CortUI with Software HUD, Parci-style as your software HUD.
  2. Launch Allegiance.
  3. Launch in any ship without energy (non-Belter ints, in particular).

Expected result:
The energy bar is invisible, because the ship doesn't have energy (i.e. it has "0 energy").

Actual result:
The energy bar is stretched across the screen, from the position where it actually should be all the way to the top of the screen. See this screenshot to get an impression.

Change History (12)

comment:1 Changed 17 years ago by Henrik Heimbuerger

Status: newassigned

This is the ticket corresponding to r61, which should be released with milestone 1.76.

comment:2 Changed 17 years ago by Henrik Heimbuerger

Is this related to this forum thread?

comment:3 in reply to:  2 ; Changed 17 years ago by parcival

Replying to Cort:

Is this related to this forum thread?

Yes. It is fixed for Allegiance R4 DirectX 9 version and R5. It was caused by erroneous handling of png/mdl files.

comment:4 in reply to:  3 Changed 17 years ago by Henrik Heimbuerger

Description: modified (diff)
Summary: Vertical white lines appearing on the far right side of ParciHUDVertical 'pillars' appearing out of the stat bars of ParciHUD

Replying to parcival:

Replying to Cort:

Is this related to this forum thread?

Yes. It is fixed for Allegiance R4 DirectX 9 version and R5. It was caused by erroneous handling of png/mdl files.

I still have it on my own R5 source build (FAZR5Dev branch, revision 242). When flying a ship with no energy (lt int), I still get something similar to the screenshot you posted.

I changed the ticket summary because you said it's the same bug -- the lines are neither white for me, nor do they appear on the 'far right side'.
I also updated the ticket description, please confirm it is correct now.

comment:5 Changed 17 years ago by parcival

I just rechecked DX9 R4 and R5 (Beta version of Alleg). It seems that the issue is only fixed for R5, not DX9 R4.

comment:6 Changed 17 years ago by SVN

New commit by parcival (revision [65]):
[Fix for ticket #4] Fixed drawing problems of ParciHUD by wrapping the ImportImageFromFile?() calls into GaugeImageRect?() calls.

R4 has issues with GaugeImage? in 2D mode when the value is #NA. This is basically a workaround for the bug until the problem is fixed with the release of R5.

comment:7 Changed 17 years ago by parcival

Revision [65] is a work around that fixes this bug. As soon as R5 is released with the fix we should revert to the commented code lines in dialog.mdl (and delete the GaugeImageRect? entries of course). We should also then delete the *_fix.png files needed for the workaround.

comment:8 Changed 17 years ago by parcival

Resolution: fixed
Status: assignedclosed

comment:9 Changed 17 years ago by Henrik Heimbuerger

Resolution: fixed
Status: closedreopened

comment:10 Changed 17 years ago by Henrik Heimbuerger

Owner: changed from Henrik Heimbuerger to parcival
Status: reopenedassigned

comment:11 Changed 17 years ago by Henrik Heimbuerger

Resolution: fixed
Status: assignedclosed

comment:12 Changed 17 years ago by Henrik Heimbuerger

I believe [81] is related to this.

Note: See TracTickets for help on using tickets.