Bug 572167 - Shear Transform is broken on GTK
Summary: Shear Transform is broken on GTK
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.20   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 4.20 M1   Edit
Assignee: Nikita Nemkin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-22 04:59 EDT by Christoph Laeubrich CLA
Modified: 2021-03-22 05:59 EDT (History)
2 users (show)

See Also:


Attachments
Snippet with shear transform (1.86 KB, text/x-java)
2021-03-22 04:59 EDT, Christoph Laeubrich CLA
no flags Details
How it looks on Windows (45.08 KB, image/png)
2021-03-22 05:01 EDT, Christoph Laeubrich CLA
no flags Details
How it looks on Linux (16.47 KB, image/png)
2021-03-22 05:01 EDT, Christoph Laeubrich CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Laeubrich CLA 2021-03-22 04:59:34 EDT
Created attachment 285901 [details]
Snippet with shear transform

I'm encountered a problem where code that uses shear transform suddenly looks "wrong" compared between windows+linux.

The root cause is that it seems that under GTK the shearX+shearY values are exchanged.

I have attached a snippet and demonstrates the problem.
Comment 1 Christoph Laeubrich CLA 2021-03-22 05:01:07 EDT
Created attachment 285902 [details]
How it looks on Windows
Comment 2 Christoph Laeubrich CLA 2021-03-22 05:01:54 EDT
Created attachment 285903 [details]
How it looks on Linux
Comment 3 Alexander Kurtakov CLA 2021-03-22 05:02:13 EDT
Can you please try https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/176681 ? It's supposed to fix this one.
Comment 4 Christoph Laeubrich CLA 2021-03-22 05:32:08 EDT
How can I apply the path? Do I need to compile the native code?
Comment 5 Nikita Nemkin CLA 2021-03-22 05:56:57 EDT
Fixed as part of Bug 571401.
Comment 6 Alexander Kurtakov CLA 2021-03-22 05:59:41 EDT
(In reply to Christoph Laeubrich from comment #4)
> How can I apply the path? Do I need to compile the native code?

There is https://wiki.eclipse.org/SWT/Devel/Gtk/Dev_guide#Rebuilding_gtk_.2A.so_binaries about recompiling the natives but patch has been merged (thanks for the urge) so you can just wait for tomorrow build.