Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3878 closed defect (invalid)

Anti-aliasing in diagram broken?

Reported by: Christoph <buchner@…> Owned by: Adeel Asghar
Priority: high Milestone: 1.11.0
Component: OMEdit Version:
Keywords: Cc:

Description

I can't pinpoint when this happened, but recently the drawing of the diagram view in OMEdit seems to have changed. It looks like anti-aliasing was switched off, I get pretty ugly stairs on oblique edges, see attachment.
I had first noticed this with a 64 bit version, but now it's in a 32 bit version, too.
OMEdit v1.10.0-dev-92-ga9c53de

Attachments (5)

Antialiasing.PNG (1.1 KB ) - added by Christoph <buchner@…> 9 years ago.
Antialiasing-1.9.6.PNG (1.1 KB ) - added by Christoph <buchner@…> 9 years ago.
AA_test.mo (1.1 KB ) - added by Christoph <buchner@…> 9 years ago.
AA_test_1.9.6.PNG (2.4 KB ) - added by Christoph <buchner@…> 9 years ago.
AA_test_1.10-dev-527.PNG (2.6 KB ) - added by Christoph <buchner@…> 9 years ago.

Download all attachments as: .zip

Change History (15)

by Christoph <buchner@…>, 9 years ago

Attachment: Antialiasing.PNG added

comment:1 by Christoph <buchner@…>, 9 years ago

I think I saw somewhere that you switched Qt versions recently, coudl that be connected? I am pretty sure that the model looked better/differnen before, but I don't have a screenshot to compare.

comment:2 by Adeel Asghar, 9 years ago

We never had Anti-aliasing in diagram view.

It has surely something to do with Qt version. Can you install older version (e.g 1.9.6 I guess) and and provide a screenshot?

Btw, which component it is in the screenshot? Is it from the MSL?

comment:3 by Adrian Pop, 9 years ago

Most likely the switch to Qt5 is to blame. There is not difference now between the 32 and 64 bit version, only the compiler mingw32 gcc 5.3.0 vs mingw64 gcc 5.3.0 but everything else is the same. Hopefully Adeel can find the issue.

comment:4 by Christoph <buchner@…>, 9 years ago

OK, I'll install an older version and will make a screenshot (probably on Monday, though).
It's a self-made component, not MSL.

by Christoph <buchner@…>, 9 years ago

Attachment: Antialiasing-1.9.6.PNG added

comment:5 by Christoph <buchner@…>, 9 years ago

1.9.6 screenshot added. looks different to me. sorry, gotta run.

comment:6 by Adeel Asghar, 9 years ago

Status: newaccepted

I will look into it. Can you provide a sample model as well?

comment:7 by anonymous, 9 years ago

I'll try on Monday. I just realised, it could be that OMedit started rendering bigger linewidths correctly? I'll check my model when I'm back.

by Christoph <buchner@…>, 9 years ago

Attachment: AA_test.mo added

by Christoph <buchner@…>, 9 years ago

Attachment: AA_test_1.9.6.PNG added

by Christoph <buchner@…>, 9 years ago

Attachment: AA_test_1.10-dev-527.PNG added

comment:8 by Christoph <buchner@…>, 9 years ago

OK, repro model attached. It primarily seems to be the line thickness (default 0.25 vs. 1) that has started to be rendered, and AA was never present. I guess the sawtooth just became more noticeable/jarring with thicker lines.

I'll close this ticket, and just make my lines thin again. :D

comment:9 by Christoph <buchner@…>, 9 years ago

Resolution: invalid
Status: acceptedclosed

Sorry for the noise.

comment:10 by Adeel Asghar, 8 years ago

Milestone: Future1.11.0
Note: See TracTickets for help on using tickets.