Page 1 of 1

Layout system is flawed.

Posted: Thu Dec 17, 2020 6:57 am
by pcache
After i spent an hour trying to bend layout to my very simple need i realized that it is flawed, and what i want is impossible to achieve because of these 2 issues:

1. Main panel (i will call it Browser) is a special princess that has some special treatment like :
- It can't be removed
- You cant add more than 1 panel to each of its sides, rest of the panels are forcibly stacked on top of them
- You can't move it, so you are forced to dance around it (its just a panel. just. a. panel. same as any other)

2. If you split the root vertically, so you have browser on the bottom, then the upper part will allow you to horizontally keep adding in as many panels as you need, but you then can't split those panels anymore.

Just these 2 issues break the very basic intuitive way you work with any other nested panel UI
Browser has some preferential treatment with some weird limitations, the rest are just arbitrary limited for no apparent reason, why?
Can this be fixed?

I realize there is no point to turn off browser panel, but IF that is why the rest of the layout is so crippled, it has to be solved somehow else, like keeping it a normal panel like every other, but simply disallowing user to close it. The panel behavior should be uniform and predictable, and not all over the place.

Re: Layout system is flawed.

Posted: Sat Dec 19, 2020 2:58 pm
by xnview
The current system use default QMainWindow layout, but i think about using a better one