← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 885727] Re: page hight calculation must be done for every page

 

> the vertical size seems to be taken from the first notebook page

There is no vertical size calculation at all. The footer is "stuck" to
the bottom of the viewport (unless the content pushes it further down).
The vertical height of tabs in a notebook are fully independent from one
another and depend only on the height of their content.

> although the 3 other pages have text widgets which would need to use
the available window height

I can see where you're coming from, but I'm moving this to wishlist: it
would be nice, it's not necessary, and it would require significant work
to get it right as vertical layouting (instead of just letting elements
stack on top of one another) is very tricky, work which is currently
needed to fix stuff that's not actually working.

* We can't just naively set all parents to have a height of 100%, as that's going to expand the first tab as well and it's going to "punch through" the footer (see screenshots 1 and 2)
* The size limitation does not come from just the tab content, most of the parents are not explicitly sized so some sort of automatic computation is going to be broken… pretty much always, it's never going to work right. It *might* be possible to make every textarea size itself to display all of its content (although this is not a feature supported in HTML itself) it's not going to be simple either, and it's definitely going to create problems in other views
* Setting a bigger default height (currently 6 rows) for text fields (HTML textareas) is going to affect all textareas, it's certainly possible to increase that size a bit but not to take the whole screen or it's going to break pretty much every view using textareas on top of something else.
* The last possibility would be to add an option to explicitly specify the height of text fields in the view, that could certainly work (for low enough values of work) but would not exactly be sexy.

** Changed in: openerp-web
   Importance: Low => Wishlist

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/885727

Title:
  page hight calculation must be done for every page

Status in OpenERP Web:
  Confirmed

Bug description:
  Example
  webkit header/footers
  the vertical size seems to be taken from the first notebook page although the 3 other pages have text widgets which would need to use the available window hight

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/885727/+subscriptions


References