This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 221205 - Usage tab - wrong 'Usage' label text placement
Summary: Usage tab - wrong 'Usage' label text placement
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-31 17:47 UTC by crimcat
Modified: 2012-12-09 03:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Label misplacement pic (1.64 KB, image/jpeg)
2012-10-31 17:47 UTC, crimcat
Details
Additional example of wrong tab caption label placement (6.81 KB, image/jpeg)
2012-12-07 10:25 UTC, crimcat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crimcat 2012-10-31 17:47:32 UTC
Created attachment 126886 [details]
Label misplacement pic

(May be CND related)

When editing C++ source code, I opened 'usage' tab for an identifier. The label 'Usage' on the tab intersects with close the tab cross sign. Please, check a small screenshot in the attachement.
Comment 1 Maria Tishkova 2012-12-05 15:05:05 UTC
I cannot reproduce the problem. 

But even if there *is* a problem it has nothing to do with the cnd, so if you could provide the whole IDE picture we could consider it and move it to  netbeans component (ide) as C/C++ just uses standard NetBeans components.
Comment 2 crimcat 2012-12-05 19:35:07 UTC
Maybe, I should be more descriptive.
To see the issue you have to create a relatively big C++ project (mine contains about 25000 files). This is required, because in this case 'Find Usages' operation takes usually several seconds.
So, select any identifier in the source code, right click and select 'Find usages'. Then usages tab's opened with the artifact I've provided in small attached screen shot.
After the search operation completes the tab caption looks good, so I'd suppose that this defect can be observed only till operation's not completed.

I can attach all app screenshot but I'd have to blur most of it contents. If it's ok for you - I'll do.
Comment 3 Vladimir Voskresensky 2012-12-06 09:40:57 UTC
I think it is L&F specific behavior. On Gtk I see title as "O Usa...x" where "O" is image indicating "busy" state. When FU finishes title became "Usages x".

Anyway it's part of general Refactoring (or Window?) system
Comment 4 Ralph Ruijs 2012-12-06 12:07:52 UTC
Refactoring calls makeBusy. This also happens for other topcomponents that call this method.
Comment 5 crimcat 2012-12-07 10:25:52 UTC
Created attachment 129035 [details]
Additional example of wrong tab caption label placement

Attaching a new example of wrong tab caption label placement.
I've just started a long search over the whole project, then in parallel started a long find usages, then switched back to the search tab.
Comment 6 Stanislav Aubrecht 2012-12-07 13:46:51 UTC
core-main 314a1079d9e8
Comment 7 Quality Engineering 2012-12-09 03:09:32 UTC
Integrated into 'main-golden', will be available in build *201212090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/314a1079d9e8
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #221205 - proper painting of busy icon in Win classic l&f