Ticket #88 (closed defect: invalid)

Opened 2 years ago

Last modified 9 months ago

Tabsheet can't be rendered if it has no tabs

Reported by: Artur Signell Owned by: Marc Englund
Priority: undefined Milestone: User Interface Library 5.2.0 RC
Component: TK4 base theme Version: 4.0.0-alpha
Keywords: tabsheet render Cc:
Known Issue description:
Hours estimate: 1 Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract:

Description

When creating a tabsheet with no tabs, it gets rendered as:

<tabsheet id="PID226" immediate="true"> <tabs></tabs> </tabsheet>

The error message in the debug window is:

Could not render tabsheet using 'DefaultTheme?': theme.getVariableElement(uidl, "string", "selected") has no properties.

Change History

Changed 14 months ago by Marc Englund

  • affects_documentation unset
  • affects_release_notes unset

Hmm... How should a TabSheet? without tabs look...? Probably like this:

But how do you distinguish that from an empty Label, which looks like this:

Changed 11 months ago by Joonas Lehtinen

  • milestone set to User Interface Library 5.1.1

Check if this is still true for 5.1. If not valid, just close.

Changed 11 months ago by Joonas Lehtinen

  • priority changed from minor to undefined

Changed 11 months ago by Marc Englund

  • status changed from new to closed
  • resolution set to wontfix

Makes no sence to put a tabsheet w/o tabs in UI -> wontfix (renders empty thingie in TK5)

Changed 11 months ago by Joonas Lehtinen

  • status changed from closed to reopened
  • resolution deleted

In many cases tabs are added dynamically and in some (valid) stateof the application there might be no tabs.

=> I would say that we should render an empty tabsheet (on the client-side) just to avoid problems.

Changed 11 months ago by Marc Englund

Are you saying that we should render a empty tabsheet in tk4? (As I said, we already do so in tk5 - depending on how an empty tabsheet should look, that is)?

Changed 10 months ago by Jani Laakso

  • milestone changed from User Interface Library 5.1.2 to Sprint 4 backlog

Changed 10 months ago by Joonas Lehtinen

  • milestone changed from Sprint 4 backlog to User Interface Library 5.1.2

Milestone Sprint 4 backlog deleted

Changed 10 months ago by Jani Laakso

  • status changed from reopened to closed
  • resolution set to invalid

Cleaning ticket database, closing obsolete bugs and enhancements.

Changed 9 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.1.2 to User Interface Library 5.2.0

Milestone User Interface Library 5.1.2 deleted

Note: See TracTickets for help on using tickets.