Bug 654990
| Summary: | Certificate prompt window does not autosize | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Gerhardus Geldenhuis <gerhardus.geldenhuis> | ||||
| Component: | UI - General UI | Assignee: | Nathan Kinder <nkinder> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.2.6 | CC: | amsharma, jgalipea | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-12-07 17:05:19 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 434915 | ||||||
| Attachments: |
|
||||||
|
Description
Gerhardus Geldenhuis
2010-11-19 09:32:38 UTC
I think you can work around this by installing the CA cert in ~/.389-console: certutil -d ~/.389-console -A -t CT,, -n "my ca cert" -a -i /path/to/cacert.asc Thanks, I have been doing that until now. I also tried to change the saved values in .389-console directory for the x and y location of the window but that just got ignored. I had a slightly different problem with a remote vncserver session where the 389console appeared out of the window region or just on the edge making it difficult to bring it into the center. I mention it here because it is also a windowing problem. Regards Created attachment 479987 [details] Patch The JTextArea that we use in the dialog that prompts for certificate trust is unable to determine it's proper preferred size since it is created with no rows and no columns. This requires us to call pack() twice before it can get it's proper preferred size. This is detailed in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4446522. Checked into console (HEAD). Thanks to Noriko for her review! Checking in src/com/netscape/management/client/security/PromptForTrustDialog.java; /cvs/dirsec/console/src/com/netscape/management/client/security/PromptForTrustDialog.java,v <-- PromptForTrustDialog.java new revision: 1.2; previous revision: 1.1 done Checked in latest release, did not face this issue. Hence marking as VERIFIED. |