News for hackers. Stuff that matters.
Re:We finally learned to center a div, then browsers added s... by happymellon on Wednesday August 05, 2026 @01:06AM (#49178764)
Why? The window and its position shouldn't matter to the app.

My tiling window manager doesn't care what your snowflake app thinks it wants, and I don't either.

Re:We finally learned to center a div, then browsers added s... by gmueckl on Wednesday August 05, 2026 @03:25AM (#49179634)
Then continue to enjoy your broken popup menus and combo box drop downs, for starters.
Re:We finally learned to center a div, then browsers added s... by happymellon on Wednesday August 05, 2026 @05:24AM (#49180463)
All apps I use are well behaved and work to the relationship that the window they are given.

I'm trying to think of any that try to fight the interface quite as much as this.

Re:We finally learned to center a div, then browsers added s... by seba_dos1 on Wednesday August 05, 2026 @07:15AM (#49181208)
Are these broken popup menus and combo box dropdowns with us in the room right now?

Yes, some things in some complex applications can break, but there are solutions and, practically, these particular things you listed simply aren't among those that break.

Re:We finally learned to center a div, then browsers added s... by gmueckl on Wednesday August 05, 2026 @11:41AM (#49184461)
For example, the VS Code menu bar is broken because the drop-downs clip against the window frame, not the screen edges. The reason is different in this case, though (electron).
Re:We finally learned to center a div, then browsers added s... by tredre3 on Wednesday August 05, 2026 @03:27PM (#49187721)
GNOME Files (nautilus) made the file property dialog a modal because they really want it to be centered relative to the file browser window and wayland didn't let them position or obtain coordinates.

The result is that you can't open open two file property dialogs at once (to compare sizes or dates or any other meta data, it's a common thing one might want to do).

Hopefully you'd agree that Wayland should allow apps to position windows relative to their own windows, at the very least.

Re:We finally learned to center a div, then browsers added s... by kyusan0 on Wednesday August 05, 2026 @05:31PM (#49189315)
With Dolphin file manager on Wayland this works for me as expected, a new window opens in the centre of the file browser window, no matter the size or position of the window. I didn't do any actual testing but I wonder what the difference is.
Re:We finally learned to center a div, then browsers added s... by happymellon on Thursday August 06, 2026 @02:28AM (#49193210)
Making the pop-ups model has nothing to do with windows not knowing their position on screen.

It's a design choice.

Re:We finally learned to center a div, then browsers added s... by casey2 on Wednesday August 05, 2026 @01:34PM (#49186150)
It's not "my broken popup menus" since I'm not writing your app. This is some of the most basic portable software 101 I can't believe a real developer would complain about it.

If you do have that attitude there are a million other OOP style things to throw out for speed and correctness before virtual monitors and coordinating compositors

Re:We finally learned to center a div, then browsers added s... by account42 on Wednesday August 05, 2026 @03:44AM (#49179768)
The its only fair that complex applications don't care about how well they work under your snowflake WM either.
Re:We finally learned to center a div, then browsers added s... by happymellon on Wednesday August 05, 2026 @05:25AM (#49180465)
Complex applications work fine.
Re:We finally learned to center a div, then browsers added s... by AlienRobot on Wednesday August 05, 2026 @09:00AM (#49182244)
You are literally replying to a thread that has an example of a game where the position of the window matters.
Re:We finally learned to center a div, then browsers added s... by JoshTriplett on Wednesday August 05, 2026 @09:46PM (#49191424)
It was a cute stunt, and it's fine for it to stop working so that sites stop misbehaving.