Jump to content

Hi Guys, One of the Strange issue faced: Below is my code : ...


VisuaLizeFOCUS .

Recommended Posts

I did some test to check if its related to style file (even if youve already test it)

I changed for

IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/FR/combine_templates/FRBlack_Light2.sty,

and its giving me the extra bold lines under Chrome

Then I went back to

IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENBlack_Light2.sty,

and now the extra bold lines are there

Not able to have them regular anymore

Link to comment
Share on other sites

You should compare those two sty files. Since they are both western European fonts , they should be exactly the same. If they are not - that is a bug from Tibco (unless you modified one ).

To debug this, I think it would help if you hit PF12 in chrome and inspected the cell where they are different and look at the HTML source. They should be exactly the same.

Link to comment
Share on other sites

Hi Guys,

One of the Strange issue faced:

Below is my code :

TABLE FILE CAR1

SUM

CAR1.BODY.RETAIL_COST

CAR1.BODY.DEALER_COST

BY CAR1.ORIGIN.COUNTRY

BY CAR1.COMP.CAR

BY CAR1.CARREC.MODEL

ON TABLE SET PAGE-NUM NOLEAD

ON TABLE SET ASNAMES ON

ON TABLE NOTOTAL

ON TABLE PCHOLD FORMAT HTML

ON TABLE SET HTMLEMBEDIMG ON

ON TABLE SET HTMLCSS ON

ON TABLE SET STYLE *

INCLUDE = IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENBlack_Light2.sty,

$

ENDSTYLE

END

Chrome output

 

Firefox and Edge output

 

If you can see CHROME has some extra bold lines on the Border of the report.

WebFOCUS Version: 8207.06

Also tested on 8207.26.

Chrome version: Version 91.0.4472.114

Seems like CHROME has some rendering issue with WebFOCUS reports.

I tried with a built-in theme and tried to put custom as well.

Same results in case anyone faced this issue before.

Link to comment
Share on other sites

Hi Guys,

Received something from TIBCO:

**"it appears that Chromes magnification is rendering these results. **

If you change the resolution to 90%, then the reports (sample CAR fex you provided) grid lines appear as normal. Please let me know if you notice the same behavior."

But I am disappointed with this reply as being a company we cannot add this to our usage guide.

Link to comment
Share on other sites

I experimented with this some more and did reproduce the issue in Chrome. I use a laptop with a side monitor, I can run a report on the laptop, looks ok, then move the report window to the side monitor and see the line thickness issue.

Based on the view|source of the WebFOCUS report, I created the following .htm file, totally outside of WebFOCUS:

<!DOCTYPE html>

<html>

<head>

<style>

table { border-collapse:collapse; }

.x4 { border-top: 1pt solid; border-left: 1pt solid; }

</style>

</head>

<body>

<table>

<tr><td class='x4'>1</td>

<td class='x4'>b</td>

<td class='x4'>3</td>

</tr>

<tr><td class='x4'>4</td>

<td class='x4'>5</td>

<td class='x4'>6</td>

</tr>

<tr><td class='x4'>7</td>

<td class='x4'>8</td>

<td class='x4'>9</td>

</tr>

</table>

</body>

</html>

 

When I run this in Chrome, I can see the issue. But I dont see any particular pattern to it, seems like a random inconsistency with how Chrome renders the lines.

I did observe that the border-collapse:collapse; is involved. Change it to border-collapse:separate; and the problem seems to go away, although the report looks a bit different.

TABLE FILE CAR

SUM

CAR.BODY.RETAIL_COST

BY CAR.ORIGIN.COUNTRY

BY CAR.COMP.CAR

BY CAR.CARREC.MODEL

WHERE COUNTRY EQ 'ENGLAND'

ON TABLE SET PAGE-NUM NOLEAD

ON TABLE SET STYLE *

INCLUDE = IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENBlack_Light2.sty,$

ENDSTYLE

END

-HTMLFORM BEGIN

<style>

table { border-collapse:separate; }

</style>

-HTMLFORM END

 

But then, this may not be a look you care for:

 

image.png1083372 31.2 KB

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...