-
Notifications
You must be signed in to change notification settings - Fork 1
GTK: a question about SublimeText; a general point #135
Comments
I made a follow up to this issue and it was also closed by one of the maintainers. Citing:
Waiting for next reply there. EDIT: Link here - https://github.com/orgs/linuxmint/discussions/513 While testing Sublime I noticed this: |
Thanks. Part of what I'm asking/hoping is that, unlike in the file-picker case that you raised, the Sublime-flickering problem is fixed in a newer version of GTK3 shipped by Mint 22 (via Ubuntu 24) - presuming, for one thing, that Mint's version of GTK3 is newer. Still, my more general point was, indeed: are we going to get this sort of goody ever on Mint? On the missing 'run' button within the Software Manager when that manager is showing Sublime: I think that the English label for that button is in fact 'launch'; and it is not a regression. So I created this issue. (I take it that your point about Sublime being filed under 'programming' is this: the categorisation suggests something that is indeed true, namely, that Sublime is a launchable program.) |
I thought GTK3 is not developed anymore so don't know if it can be newer.
I think that's a topic for a whole different discussion. Mint wants to develop the XAPPS ecosystem more and they use GTK3 so they should work on more "goodies", but that's not an easy task. Two other Desktop Environments that parted with GTK4 - Budgie and Cosmic still are not done migrating the stuff to new toolkits (and in their case it's now 2 and 3 years since they announced it). Really, that is a topic for a different discussion, but it would be good to have it to know what they are focusing on since we only had this in April: https://blog.linuxmint.com/?p=4675. A roadmap that informs users what was worked on and what needs to still be worked on would be nice to have.
It may be. I just translated the Polish button name so it could have been both of them as they mean exact same thing. |
Mint does has Gtk4. If you install a gtk4 app, gtk4 is installed as a dependency. |
Ah. Thank you for telling me. I presume then that apps developed by Mint itself use Gtk3. As per the post I linked above, seemingly Sublime's devs are - or at least were - awaiting a patch for Gtk3, unless that patch has actually arrived (but not reached Mint 21 yet). One can hope though - unless this will cause problems with Mint - that Sublime will move to Gtk4 at some point. |
You will already get that if you install any app that is built with Gtk4. There are quite a few of them in the repos though most also seem to use libadwaita. |
Yes, system settings and AFAIK, all the xapps & timeshift etc, are gtk3. Except for the panel and xlets which use clutter.
Gtk3 is still slowly getting bug fixes according to the changelog. Mint 22 uses ubuntu's gtk3 which is at version 3.24.41 dated 23-01-2024. I don't know if that's updated between ubuntu releases though.
I don't know but it seems unlikely to me since gtk4/libadwaita doesn't even have a proper menubar widget, it only has the hamburger style menus so it would have to be a complete redesign of the UI. Tbh, I don't see how gtk4 is even suitable for large or complex applications. |
Mint 21.3 reports the following.
Thus, going by the changelog (thanks, fredcw!), between Mint 21.3 and Mint 22 gtk has undergone the following changes.
|
I don't know where people are getting this stuff but it isn't true. Gtk4 apps can have a menubar and menus just fine. Even gtk4-widget-factory has examples of it. |
I only see the hamburger style menus in gtk4-widget-factory (page 3, top middle) Gnome HIG seems to recommend only a primary and secondary menu. |
@JosephMcc |
@JosephMcc You're right, the menu was completely invisible due to the theme I'm using :P |
@LinuxOnTheDesktop sublime-text is my main editor here, I use it all the time. I never noticed any issue, but I guess that depends on your hardware. If acceleration is problematic, maybe it can be turned off? |
Sublime Text 4 has problems with hardware acceleration (even in its latest development version and at least on some platforms). One such problem is flickering of the tab bar. I have had that problem. A Sublime developer locates the problem in GTK3. (Still, the Linux version of the editor comes with hardware acceleration disabled by default.) Does Mint 22 have the problem? (I could test hardware-accelerated Sublime on Mint 22 within a virtual machine, but that would be a poor test.)
I think Mint users could use reassurance that they will not have to wait that long to get GTK4 or a near equivalent. For, GTK4 includes many improvements over GTK3 (including this improvement that Mint's beta test has raised already).
Thanks for your time.
The text was updated successfully, but these errors were encountered: