Community
Participate
Working Groups
This function is currently dynamic, but still runs on GTK3.22. It should be guarded and used only on GTK3.20-.
Upon further inspection, it seems there are a number of GdkScreen functions relating to monitors being called on GTK3.22. These should be replaced with GdkDisplay ones.
New Gerrit change created: https://git.eclipse.org/r/129884
Gerrit change https://git.eclipse.org/r/129884 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f24e126e2e1137715e4205f66b0e4d50d9e4445b
(In reply to Eclipse Genie from comment #3) > Gerrit change https://git.eclipse.org/r/129884 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=f24e126e2e1137715e4205f66b0e4d50d9e4445b In master now.
One of the calls to gdk_monitor_get_geometry() is using the int from a for loop, not the handle. Pushing a quick fix now...
New Gerrit change created: https://git.eclipse.org/r/130049
Gerrit change https://git.eclipse.org/r/130049 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=9dd3fa3f27b2471ad1ec1c8c40b3c25f1aba0a80
(In reply to Eclipse Genie from comment #7) > Gerrit change https://git.eclipse.org/r/130049 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=9dd3fa3f27b2471ad1ec1c8c40b3c25f1aba0a80 In master now.
New Gerrit change created: https://git.eclipse.org/r/130054
Gerrit change https://git.eclipse.org/r/130054 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=4a944e70c79067fc142f6afbadc81045d6255f12
(In reply to Eclipse Genie from comment #7) > Gerrit change https://git.eclipse.org/r/130049 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=9dd3fa3f27b2471ad1ec1c8c40b3c25f1aba0a80 > @Eric, the change didn't compile on gtk ppc64le. This is the console output -> https://hudson.eclipse.org/releng/view/SWT%20Natives/job/gtk_linux_ppc64le/57/console . I've reverted the change so that the build can continue.
Eric the cast you introduced the GdkMonitor fails to compile on pre 3.22 Gtk as it was introduced in this version.
Latest build does not start anymore on Ubuntu 18.04, see Bug 539561
(In reply to Alexander Kurtakov from comment #12) > Eric the cast you introduced the GdkMonitor fails to compile on pre 3.22 Gtk > as it was introduced in this version. Ah yeah, my mistake. I'll push a revised patch today. (In reply to Lars Vogel from comment #13) > Latest build does not start anymore on Ubuntu 18.04, see Bug 539561 I'll investigate.
*** Bug 539561 has been marked as a duplicate of this bug. ***
New Gerrit change created: https://git.eclipse.org/r/130069
Gerrit change https://git.eclipse.org/r/130069 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=86e1d48f8e87f99f56ea69e6675778f1807b7789
(In reply to Eclipse Genie from comment #17) > Gerrit change https://git.eclipse.org/r/130069 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=86e1d48f8e87f99f56ea69e6675778f1807b7789 Fixed crash, but didn't introduce casting issue which caused the build failure.
Verified in I20180927-1800.