Opened 17 years ago

Last modified 17 years ago

#12 assigned defect

Selecting a panel from the Contents page closes all other panels

Reported by: Andreas Schnellbacher Owned by: RBRi
Priority: major Milestone: Version 2.21
Component: NewView Version: 2.18
Keywords: contents close subpanel Cc:

Description

Opening a panel from the contents pane always closes all other panels. Thus subpanels can't be viewed together with their parent panels. In contrast, opening a sublevel panel from its parent panel shows both panels correctly.

I've appended a testcase (my fourth and last for now: subpanel.zip, including subpanel.htext, subpanel.ipf and subpanel.inf). See the instructions on Panel 1 at the bottom. It was compiled with the upcoming next version of HyperText?/2, so you'll get slightly different results with currently available versions.

Notes:

Only the :h1. headings like "Panel 1" have a "clear" attribute defined, not the two subpanels.

On selecting "Panel 1" also the "First subpanel" opens because of the following :link. line being added to the "Panel 1":

:link reftype=hd auto viewport dependent refid=2.

The panels are not grouped here. IIRC with the "group" attribute defined that issue won't happen.

Attachments (1)

subpanel.zip (3.5 KB) - added by Andreas Schnellbacher 17 years ago.
Testcase for subpanels

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by Andreas Schnellbacher

Attachment: subpanel.zip added

Testcase for subpanels

comment:1 Changed 17 years ago by RBRi

Milestone: Version 2.20
Status: newassigned

comment:2 Changed 17 years ago by RBRi

Milestone: Version 2.20Version 2.21

It works more or less like the old ibm thing. Working on this has to wait until 2.20 is finished and i have learned more about the the informations inside the inf file and of course about newviews implementation.

comment:3 Changed 17 years ago by aaron

This was by design, as I specifically wanted to avoid that users had to manually close all new windows when selecting another topic from contents.

comment:4 Changed 17 years ago by guest

Thanks for the info, Aaron. I thought about that, of course. A better way to implement that would be: On opening a panel, close all other panels of the same level and below. What NewView actually does is, that it closes all other panels. Strange is, that no auto-close happens when a panel is opened from a link instead of the contents. Usually (what I can tell from my experience how I use INF files) that results in countless opened windows, so Aaron's idea goes into the right direction.

Andreas Schnellbacher

Note: See TracTickets for help on using tickets.