Re: [cross-project-issues-dev] SWT on Gtk will require Gtk 3.20+ in 2020-06

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [cross-project-issues-dev] SWT on Gtk will require Gtk 3.20+ in 2020-06

Jonah Graham
Hello folks,

I am trying to resolve a problem* that only affects Ubuntu 16.04. The announcement to ctoss-project-issues said "All non EOLed Linux distributions are already on Gtk 3.24" - however Ubuntu 16.04 which is EOL in 2024 uses GTK 3.18

Do we (eclipse dev community) consider Ubuntu 16.04 EOL for Eclipse purposes. If so and if GTK 3.18 isn't really supported going forward I am a lot less likely to invest the time to fix this problem.

* If you are interested: https://bugs.eclipse.org/bugs/show_bug.cgi?id=549013 is the problem I am trying to fix, the existing fix regressed other stuff ( see https://bugs.eclipse.org/bugs/show_bug.cgi?id=558536 and its dups ) so I have to back it out and try again. BTW I don't know for sure if it is a GTK problem or an Ubuntu global menu problem or some other interaction between everything.

Thanks for your input,
Jonah

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Thu, 12 Mar 2020 at 05:12, Aleksandar Kurtakov <[hidden email]> wrote:
Hey everyone,
SWT min Gtk version is going to be bumped again this release (to require Gtk 3.20+). All non EOLed Linux distributions are already at Gtk 3.24.
We plan to bump Gtk requirement to 3.24 for September release too.
This is important step so SWT work on GTK4 can be started now and thus the needs of it being expressed to GTK devs on time so we don't end in the GTK3 situation when porting SWT to it was started only after GTK 3.0 was final thus leading to many hacks.


--
Alexander Kurtakov
Red Hat Eclipse Team
_______________________________________________
cross-project-issues-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev

_______________________________________________
platform-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev
Reply | Threaded
Open this post in threaded view
|

Re: [cross-project-issues-dev] SWT on Gtk will require Gtk 3.20+ in 2020-06

Aleksandar Kurtakov


On Tue, May 19, 2020 at 5:17 AM Jonah Graham <[hidden email]> wrote:
Hello folks,

I am trying to resolve a problem* that only affects Ubuntu 16.04. The announcement to ctoss-project-issues said "All non EOLed Linux distributions are already on Gtk 3.24" - however Ubuntu 16.04 which is EOL in 2024 uses GTK 3.18

Do we (eclipse dev community) consider Ubuntu 16.04 EOL for Eclipse purposes. If so and if GTK 3.18 isn't really supported going forward I am a lot less likely to invest the time to fix this problem.

Yes, Supported OSes for Eclipse purposes are described at https://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_16.xml#target_environments .  If we go the path of supporting OSes as long as their providers do we would still had to support RHEL 6 (even 5) with their GTK 2.x till 2024.
 

* If you are interested: https://bugs.eclipse.org/bugs/show_bug.cgi?id=549013 is the problem I am trying to fix, the existing fix regressed other stuff ( see https://bugs.eclipse.org/bugs/show_bug.cgi?id=558536 and its dups ) so I have to back it out and try again. BTW I don't know for sure if it is a GTK problem or an Ubuntu global menu problem or some other interaction between everything.

My first guess would be global menu interaction. You may want to look (although we are not adding back support for 3.18) at Menu.gtk_hide/show as there is code guarded with OS.ubuntu_menu_proxy_get() != 0 - the work there might not be needed or not enough after changes in the menu proxy Ubuntu installs.
 

Thanks for your input,
Jonah

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Thu, 12 Mar 2020 at 05:12, Aleksandar Kurtakov <[hidden email]> wrote:
Hey everyone,
SWT min Gtk version is going to be bumped again this release (to require Gtk 3.20+). All non EOLed Linux distributions are already at Gtk 3.24.
We plan to bump Gtk requirement to 3.24 for September release too.
This is important step so SWT work on GTK4 can be started now and thus the needs of it being expressed to GTK devs on time so we don't end in the GTK3 situation when porting SWT to it was started only after GTK 3.0 was final thus leading to many hacks.


--
Alexander Kurtakov
Red Hat Eclipse Team
_______________________________________________
cross-project-issues-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
platform-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


--
Alexander Kurtakov
Red Hat Eclipse Team

_______________________________________________
platform-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev
Reply | Threaded
Open this post in threaded view
|

Re: [cross-project-issues-dev] SWT on Gtk will require Gtk 3.20+ in 2020-06

Jonah Graham
On Tue, 19 May 2020 at 01:39, Aleksandar Kurtakov <[hidden email]> wrote:


On Tue, May 19, 2020 at 5:17 AM Jonah Graham <[hidden email]> wrote:
Hello folks,

I am trying to resolve a problem* that only affects Ubuntu 16.04. The announcement to ctoss-project-issues said "All non EOLed Linux distributions are already on Gtk 3.24" - however Ubuntu 16.04 which is EOL in 2024 uses GTK 3.18

Do we (eclipse dev community) consider Ubuntu 16.04 EOL for Eclipse purposes. If so and if GTK 3.18 isn't really supported going forward I am a lot less likely to invest the time to fix this problem.

Yes, Supported OSes for Eclipse purposes are described at https://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_16.xml#target_environments .  If we go the path of supporting OSes as long as their providers do we would still had to support RHEL 6 (even 5) with their GTK 2.x till 2024.

Thank you for confirming this.
 
 

* If you are interested: https://bugs.eclipse.org/bugs/show_bug.cgi?id=549013 is the problem I am trying to fix, the existing fix regressed other stuff ( see https://bugs.eclipse.org/bugs/show_bug.cgi?id=558536 and its dups ) so I have to back it out and try again. BTW I don't know for sure if it is a GTK problem or an Ubuntu global menu problem or some other interaction between everything.

My first guess would be global menu interaction. You may want to look (although we are not adding back support for 3.18) at Menu.gtk_hide/show as there is code guarded with OS.ubuntu_menu_proxy_get() != 0 - the work there might not be needed or not enough after changes in the menu proxy Ubuntu installs.

I have a pretty good understanding of what the problem is now and I will be adding details to the bug. The OP of the bug did provide a fix once, so they may be motivated to again. The short cause of the problem is that the accelerator for the top level menus change while the menu is open, causing the menu to close (i.e. menuitem's text changes from File to &File). I have a small reproducer I will attach to the bug, but that only fails on Ubuntu 16.04 with global menu, so after the hours I have spent investigating and testing this I am done once I write it up.

Thanks for your help!
Jonah

 
 

Thanks for your input,
Jonah

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Thu, 12 Mar 2020 at 05:12, Aleksandar Kurtakov <[hidden email]> wrote:
Hey everyone,
SWT min Gtk version is going to be bumped again this release (to require Gtk 3.20+). All non EOLed Linux distributions are already at Gtk 3.24.
We plan to bump Gtk requirement to 3.24 for September release too.
This is important step so SWT work on GTK4 can be started now and thus the needs of it being expressed to GTK devs on time so we don't end in the GTK3 situation when porting SWT to it was started only after GTK 3.0 was final thus leading to many hacks.


--
Alexander Kurtakov
Red Hat Eclipse Team
_______________________________________________
cross-project-issues-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
platform-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


--
Alexander Kurtakov
Red Hat Eclipse Team
_______________________________________________
platform-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev

_______________________________________________
platform-dev mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev