Opened 6 years ago

Last modified 20 months ago

#16669 assigned defect

Declarative view with selected=true not hidden when requesting to display a programmatic view using an hashtag

Reported by: Sebastien Brunot Owned by: Patrick Ruzand
Priority: undecided Milestone: 1.14
Component: DojoX Mobile Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

I've attached an example to explain the problem: it contains a declarative view (id=decl) and a programmatic view (id=prog). The declarative view has the attribute selected to true.

If displaying the stacking.html page (http://server:port/path/stacking.html), everything works as expected.

If displaying the programmatic view using URL http://server:port/path/stacking.html#prog, BOTH view are displayed (and a vertical scrollbar appears on the right side).

Attachments (3)

stacking.html (3.4 KB) - added by Sebastien Brunot 6 years ago.
stacking.PNG (36.6 KB) - added by Sebastien Brunot 6 years ago.
screenshot that shows the vertical scrollbar displayed on the right side
ticket16669.patch (662 bytes) - added by Sebastien Brunot 6 years ago.
Proposal to fix the problem (IBM CCLA)

Download all attachments as: .zip

Change History (10)

Changed 6 years ago by Sebastien Brunot

Attachment: stacking.html added

Changed 6 years ago by Sebastien Brunot

Attachment: stacking.PNG added

screenshot that shows the vertical scrollbar displayed on the right side

comment:1 Changed 6 years ago by bill

Component: GeneralDojoX Mobile
Owner: set to Eric Durocher

Changed 6 years ago by Sebastien Brunot

Attachment: ticket16669.patch added

Proposal to fix the problem (IBM CCLA)

comment:2 Changed 6 years ago by Sebastien Brunot

I've attached a patch that solves the problem by hiding started sibling views after displaying one. We may need to test that it works as expected when using embedded views and specifying more than one view id using a hashtag.

comment:3 Changed 6 years ago by Patrick Ruzand

Owner: changed from Eric Durocher to Patrick Ruzand
Status: newassigned

comment:4 Changed 3 years ago by dylan

Milestone: tbd1.11

Very small patch, should either land or close ticket.

comment:5 Changed 3 years ago by dylan

Milestone: 1.111.12

Ok, after massive triage, ended up with about 80 tickets for 1.11 and 400 or so for 1.12. That's a bit unrealistic, so first I changed all 1.12 to 1.13 (with the plan to move some forward to the new 1.12. Now, I'm moving some of the 1.11 tickets that are less likely to get done this month without help to 1.11. Feel free to help out in January if you want to see this ticket land in 1.11.

comment:6 Changed 3 years ago by dylan

Milestone: 1.121.13

Ticket planning... move current 1.12 tickets out to 1.13 that likely won't get fixed in 1.12.

comment:7 Changed 20 months ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.