Ticket #3053 (closed defect: fixed)
[with patch; positive review] notebook -- new cell_resize doesn't respect %hide at the beginning of a cell
| Reported by: | was | Owned by: | boothby |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.0.2 |
| Component: | notebook | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
If a cell starts with %hide, it should not be shown unless it is in focus. The new cell_resize code doesn't respect this. To see this:
- Load a fresh worksheet with %hide's -- none of them are hidden. Click on input cells then out hide them.
- Resize a web browser window with %hides -- suddenly all %hide inputs are shown.
Attachments
Change History
comment:1 Changed 5 years ago by was
- Summary changed from notebook -- new cell_resize doesn't respect %hide at the beginning of a cell to [with patch; needs review] notebook -- new cell_resize doesn't respect %hide at the beginning of a cell
Attached patch does this:
trac #3053 -- new cell_resize doesn't respect %hide at the beginning of a cell
- Fix the listed problem.
- Fix the %hide styling a bit; make %hide be grey
- Make %hide work consistently on new page refresh versus in a running worksheet
- Make cell be resized when clicking on an input area. This makes editing a %hide much more natural.
Note: See
TracTickets for help on using
tickets.

