Bug 813320 - usage of LinkItem causes links to be rendered non-left aligned
Summary: usage of LinkItem causes links to be rendered non-left aligned
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.4
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Mike Thompson
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-17 13:39 UTC by John Mazzitelli
Modified: 2013-09-01 19:22 UTC (History)
2 users (show)

Fixed In Version: 4.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-01 19:22:02 UTC
Embargoed:


Attachments (Terms of Use)

Description John Mazzitelli 2012-04-17 13:39:08 UTC
There have been several instances of this - we need to look at the UI for more.

It seems the new smartgwt might have a bug in the way it renders LinkItems. The links are rendered non-left aligned where we expect it to be. To fix these, I have been converting LinkItems to StaticTextItems with <a> links in the text values.

We need to go through the UI code and see where we use LinkItem and correct this problem where appropriate.

see bug #812823 and bug #804131 for two examples where this was already corrected.

Comment 1 Mike Thompson 2012-04-19 16:16:40 UTC
In further analysis there are only a handful of these, due to the fact that some usages of showTitle(false) eliminates the issue.

Comment 2 Mike Thompson 2012-04-19 18:45:11 UTC
After doing a find usages on LinkItem and examining how it they are being used on a case by case method it appears that we have hit all the use cases. The other use cases that are left do not have this issue.

For instance, many of the instances of LinkItem use some kind of static factory like: AbstractActivityView.newLinkItem(title, destination); and these implementations actually setShowTitle(false) so we are safe here.

There are no more code checkins associated with this BZ (just the previous two bugs mentioned above).

Comment 3 Heiko W. Rupp 2013-09-01 19:22:02 UTC
Bulk closing of BZs that have no target version set, but which are ON_QA for more than a year and thus are in production for a long time.


Note You need to log in before you can comment on or make changes to this bug.