Comment by mike_hearn

9 days ago

When did you last use IntelliJ, 30 years ago? I've never seen it fail to lay out dialogs correctly, windows do have minimum sizes, and I haven't seen any focus bugs.

> lay out dialogs correctly

This might be specific to X11. The initial size of the window is miscalculated when it first opens and a moment later changes by a few pixels, causing the contents to visually shift slightly. This happens with dialog windows the first time they're opened.

> windows do have minimum sizes

My mistake, I meant maximum size.

> and I haven't seen any focus bugs

I was being a bit vague because I've seen lots of different focus bugs on different platforms both decades ago and very recently. For example, it used to be that on Windows, the focus would change to the wrong window if you alt-tabbed too quickly. On X11, very recently, I've ended up in states where the window somehow has focus but not keyboard focus, among other things.

In Sun's own Wireless Toolkit (for J2ME development), which was a Swing application, the keyboard navigation didn't work until you opened a dialog window for the first time, after which it started working.

  • Hmm, I only use it on macOS for many years now. There might well be bugs on X11, there are so many different WMs and desktop environments that can cause strange interactions and focus/window sizing bugs. But at least for me it's never been buggier than native apps.