News for hackers. Stuff that matters.
Re:Inkscape 1.1.2 by chrismorgan on Sunday February 06, 2022 @04:35AM (#30230873)
I’m also fairly bitter about the handling of 1.0 on Windows. I reported various problems at the first beta in moderate detail, my report was more or less ignored and they went ahead with various significant regressions in performance and UI, largely because no developer was interested enough in Windows, and I and others evidently failed to convince them of just how bad it was on Windows; GTK+ 3 in general has shown a general disdain for doing Windows well, whereas GTK+ 2 had been worked over until it wasn’t too bad. Yes, Inkscape is done by volunteers, but I reckon that some of these issues should have been considered blockers to at least recommending 1.0 for Windows, if not its release. So I also stuck with 0.92 while on Windows.

But I very much like what I’m seeing in the draft release notes for 1.2: as well as some really nice-looking functionality improvements, they mention various performance improvements in approximately the areas that had the worst regressions in 1.0 (such as zooming and panning), and UI adjustments to reduce space consumed. I haven’t tried 1.2 alpha 1 out just yet, but I probably will in the next few days and I’m really looking forward to it. (Incidentally, I’ve been back on Linux for the last ten months, and using the latest releases, since it works better under Linux, though Adwaita is still horrifically wasteful of space given Inkscape’s habit of stacking many buttons side-by-side, so I installed Minwaita which reduces that problem a lot.)

Re:Inkscape 1.1.2 by zelphirkalt on Sunday February 06, 2022 @07:12AM (#30231814)
It might even be, that the developers do not own a Windows machine. Did you ask them, whether they have one to test on and reproduce the slowdown? Or perhaps offer to buy them one? It is a pity that things slow down for you on Windows, but I don't really see, how it is their responsibility to cater to a proprietary system, that is actively hostile to its users.

Preferrably it wouls not slow down for you, ofc, but they may well deem it out of scope of their project to fix issues for asystem, that they do not have the code for to look at where it is going wrong, or simply do not have the time and resources to deal with that. Add to that, that any day MS could destroy the fruit of that work again.

I can understand, that they don't want to invest resources into that.

Re:Inkscape 1.1.2 by chrismorgan on Sunday February 06, 2022 @08:35AM (#30232352)
I appealed to them in concrete terms at one point not long before the release of 1.0: either fix things for Windows, or keep on recommending the 0.92 series for Windows. There’s no denying that for the 1.0 release Windows was a second-class citizen. There’s no reason why they couldn’t then say: “look, 1.0 is available, and if you want the new features you can use it, but it’s considerably slower than 0.92 and the Windows theme is very badly broken so you’ll be stuck using the Adwaita theme which is extremely wasteful of space, so all up we suggest sticking with 0.92 for now; BTW talk to us if you’re interested in helping to improve things or sponsoring such work”.
Re:Inkscape 1.1.2 by pbhjpbhj on Sunday February 06, 2022 @11:32AM (#30234041)
Do you think all users would agree with you?

I used Inkscape on Win10 recently, and also on Kubuntu (21.04 a and 21.10, I think) and the experience was comparable.

I do not like the icon themes now, they're very low contrast and difficult to decipher for me so use the old, colourful icons I'm familiar with. Apart from that and one problem with a dialog not appearing until I selected the option a second time (the XML dialog), all worked well.

I think it's difficult, a x.0 might not be snappy, might even have serious issues, but there's not enough manpower resource to address everything at once, it's going to be incremental. Holding things back would negatively impact the momentum of the project IMO, but yes may benefit an individual.

Re:Inkscape 1.1.2 by chrismorgan on Sunday February 06, 2022 @10:15PM (#30239877)
Quite a few people have remarked on the performance problems. For the spacing thing, the use of Adwaita doubled the minimum width of things like the Fill & Stroke panel because of its excessive button padding, so that on my Surface Book (effectively 1500×1000) with the typical layout, I would end up with something like a 35–40% reduction in available canvas width (and maybe 10–15% for the height); but even the common resolution of 1920×1080 is going to suffer a fairly significant reduction in available width, compared to the Win32 theme.

But I couldn’t even properly switch back to the Win32 theme because of severe bugs that rendered it very problematic on all displays and basically completely unusable after a bit on any comparatively small high-DPI displays like my Surface Book’s. I don’t know if any of these issues have been fixed; I did try Inkscape 1.0 final briefly but decided it was still just too bad compared to 0.92. And now I’m back on Linux and so, like the Inkscape developers, don’t care all that much about Windows any more.

(https://gitlab.com/inkscape/inbox/-/issues/879 was my initial report, including explanation of some of the major Win32 theme regressions. Given the adjacent topic in this thread of GTK 4, the mention of overlay scrollbars in that thread points to a mess too; https://wiki.archlinux.org/title/GTK#Disable_overlay_scrollb... says: “as of GTK 4, the overlay nature of the scrollbars is part of the toolkit.” Ugh, GTK is obviously not interested in being a native look-and-feel toolkit if they deliberately remove the ability to control scrollbar overlayedness at the system level or in the theme. If you require the app to switch it on, it might as well not exist. Sounds like they’re continuing with the sabotage.)

Re:Inkscape 1.1.2 by sprash on Sunday February 06, 2022 @05:13AM (#30231079)
GTK is a GNOME library and GNOME has shown in the past that they not only don't care about third party software but are actually extremely harmful to the community to the point that you might as well call it sabotage. The transition from GTK2 to GTK3 was extremely painful, had no benefits for anyone except GNOME and had many regressions across the board. The right course of action for Inkscape would be to switch back to GTK2 and be as independent from GNOME as possible. For everybody else it would be advised to make sure that your software runs well everywhere but GNOME. Simply check if getenv("XDG_CURRENT_DESKTOP") is equal to "GNOME" and exit(EXIT_FAILURE) if true.
Re:Inkscape 1.1.2 by commoner on Sunday February 06, 2022 @05:43AM (#30231258)
Display scaling is only supported by GTK 3 and later, so downgrading to GTK 2 would result in a blurry interface for a lot of users (and not just GNOME users). 1080p or higher resolution laptops and 4K monitors are quite common nowadays.

I can't agree with excluding all GNOME users from using an application, since it's not the fault of GNOME users in general that it's difficult to transition between major GTK versions.

Re:Inkscape 1.1.2 by chrismorgan on Sunday February 06, 2022 @05:59AM (#30231353)
Eh, GTK as a whole is… well, not healthy for cross-platform development. It used to be a good deal better (though it was never really excellent), but from GNOME 3 they’ve pretty much decided to flat-out ignore other platforms and their conventions, and shift GTK from being GNOME-focused but fairly platform agnostic with pretty good look-and-feel theming to being just GNOME GNOME GNOME and wildly out of place in look and feel everywhere else.

Of course, other options in a similar space like Qt aren’t entirely better in that they don’t behave fully like GNOME on GNOME platforms. The best cross-platform native-feel apps, like Firefox, tend to use GTK on Linux (or possibly KDE/Qt in KDE?) and other things on other platforms.

As a Linux user I inevitably use quite a bit of GTK software (though barely any GNOME stuff, if you savvy the distinction I’m drawing), but I dislike almost all of the directions it’s headed in since GNOME 3. Decent scaling is one of the few redeeming features.

sprash is describing a very—ahh—ideologically pure position, but I do deeply sympathise with a desire for a return to the GTK+ 2 ways. My ideal would probably be to scrap GTK+ 3 and 4 and create 5 derived mostly from GTK+ 2’s philosophies, just including the good technical parts of 3 and 4, but determinedly not a full style unto itself. Also I’m fed up with client-side decorations matter and want better support for server-side decorations, as was done traditionally and as is still generally preferable on Windows and in most Linux window managers, or even platform-matching client-side decorations, which would be good for macOS and Windows and frankly GNOME.

GNOME has basically sabotaged GTK as a cross-platform library—even as a Linux-wide thing (apart from KDE). They’ve taken it over to serve their own purposes and vision. Their vision does improve and unify some parts of GNOME desktops, but as a user of something other than GNOME (Sway), I don’t like most of what they’ve done to GTK.

Re:Inkscape 1.1.2 by dantondwa on Sunday February 06, 2022 @06:32AM (#30231566)
Doesn't GTK4 address your complaints? To a certain degree, I think they've realized what you say. GTK4:

- decouples GNOME and GTK. They've created a new library, called libadwaita, that hosts the GNOME stuff.

- brings big performance improvements (it has GL and Vulkan backends)

- is much better on macOS and Windows.

Anyway, I agree with you on your points. One of the issues of opensource graphic programs is that the toolkits that are available are quite problematic/don't care about this use case. This is not just about GTK, as QT has also been causing a lot of headaches to the Krita developers. It is not by chance that Blender, which draws the UI using its own toolkit, is not affected by these issues and has a fantastic, fast UI.

Re:Inkscape 1.1.2 by nyanpasu64 on Sunday February 06, 2022 @08:06AM (#30232157)
Not the parent commenter, but I find GTK4 worse than GTK3 on non-GNOME Linux environments. The popovers capture input and hang your entire Xorg session until you press Esc (affecting EasyEffects), GTK4 has window creation race conditions breaking title bars on KWin and window positioning on KWin and xfwm4, and line height and text y-coordinates are non-integer and text is rendered at fractional vertical coordinates, resulting in blur even with hinting on (which assumes integer-pixel vertical positioning).
Re:Inkscape 1.1.2 by chrismorgan on Sunday February 06, 2022 @08:27AM (#30232306)
I might need to take a closer look at it at some point. I’ve never used anything that uses it, and I haven’t inspected it or grasped the scope of libadwaita, but most times I’ve heard anything about GTK 4, there have been major bad things—selection bias, to be sure, and perhaps confirmation bias, but it may indicate something. The three examples that come to mind immediately:

• They severely damaged text rendering and initially didn’t even acknowledge it as a defect, dismissing the report: https://gitlab.gnome.org/GNOME/gtk/-/issues/3787. More recently there’s some movement on the issue, but the initial reaction was not a good look, at least.

• Someone said various bad things about libadwaita here on HN a couple of weeks ago: https://news.ycombinator.com/item?id=30027002.

• Of accessibility, they’ve completely redesigned it, in a way that is very convincingly better, or will be once it’s all finished including supporting tooling, but the impression I’ve received from a couple of communities where it’s come up a bit at times is that at least when they released GTK 4 and told people “start adopting it!”, GTK 4 apps were opaque to screen readers, because half the plumbing was missing. This impression could be false, and if there was any lack, hopefully it’s addressed by now.

I’m curious what the state of affairs is for approximating native look and feel on Windows. GTK+ 2 had a once-fairly-decent win32 theme that became fairly significantly out of date after Windows XP, but there were also some more recent themes that did parts better (and other parts worse). I’ve never seen a Windows theme for GTK+ 3 that is even halfway decent for look, and feel is a dead loss (e.g. menu keyboard behaviour and list box popup positioning and behaviour are both just painfully wrong).

If they’re serious about cross-platform, attempting to match Windows and macOS look and feel (and completely ignoring Linux, for a while) is where effort should be placed. I don’t know if they are.

Re:Inkscape 1.1.2 by dantondwa on Sunday February 06, 2022 @11:20AM (#30233907)
On text rendering, I've seen that too and I agree with what you say, unfortunately. There is a difference between being professional/straight to the point, which I appreciate, and being dismissive.

On the other topics, I'm not informed enough, but at least it's good some work on the accessibility front is happening, compared to the dire situation of the last decade... I hope that eventually the situation improves. Accessibility improvements really benefit everyone.

Regarding the matching of the look and feel... in the last few years, this mindset has become very common, where each app is an island and no effort should be made to look native, because, in fact, there is no native look anymore. Windows has always been like this, and Linux desktops have started embracing that. From the app developer perspective, it's understandable. For the user, it means giving up decades of usability studies and the pleasantness of coherence. Given this direction, I expect GTK apps to look like GTK apps wherever they run, unfortunately. On the bright side, the default look of GTK4/adwaita apps is kinda similar to what macOS and Windows 11 are going for, so at least it won't look too alien over there.

Re:Inkscape 1.1.2 by prox on Sunday February 06, 2022 @05:20AM (#30231133)
I hate this ivory tower way of developing. It holds back progress, learning by exchange, and so on.