Painting issues with "autosize". My fault? Your fault?

helpcrypto helpcrypto helpcrypto at gmail.com
Wed May 28 12:57:42 UTC 2014


Just filled Bug 1798 - Pack and repaint doesnt seem to work properly
;)


On Fri, May 23, 2014 at 3:05 PM, Jiri Vanek <jvanek at redhat.com> wrote:

> On 05/23/2014 09:53 AM, helpcrypto helpcrypto wrote:
>
>> Thanks as usual, Jiri.
>>
>> I'll prepare the test and fill a bug as soon as I can...very busy days at
>> work
>> (why the TODO list is always growing faster than the DONE list???)
>>
>> Have a great weekend.
>>
>
>
> Hmm. It seems that this is new issue. All ITW AWT reproducers started to
> fail. They simply never paint their components are based on JDialogue...
>
> Andrew, may you elaborate on them?
>
> [send from phone]
>
>
>
>>
>> On Wed, May 21, 2014 at 4:56 PM, Jiri Vanek <jvanek at redhat.com <mailto:
>> jvanek at redhat.com>> wrote:
>>
>>     On 05/16/2014 09:43 AM, helpcrypto helpcrypto wrote:
>>
>>         Hi.
>>
>>
>>         Before filling a bug, I would like to ask if I'm doing it
>> properly.
>>
>>         Consider the following scenario:
>>            -Dialog+BorderLayout+center JPanel with JLabel
>>
>>         In runtime I modify the label from "" to "<html>lorem
>> ipsum...</html>" (The lorem ipsum part are several paragraphs)
>>         And do pack() and repaint().
>>
>>         *The objective is to automatically resize the dialog depending on
>> panels contents*
>>
>>
>>
>>         Using ORACLE JRE the dialog is redrawn to fit the content, but
>> this is not happening on icedtea-web, so part of the text is hidden under
>> north, south, east and west panels.
>>
>>         Did I explained myself properly?
>>         Should I file a bug and attach a test case or I must do it
>> another way?
>>
>>
>>
>>
>>     Yes this sounds like a bug. But From desciption is not clear wheter
>> it is IcedTea-Web or Openjdk.
>>
>>     It is worthy to try openjdk 6 / 7 / 8 snd proprietary plugin and
>> Proprietary JDK 7/8 and icedtea-web to eliminate dead branches.
>>
>>     And hence you see it in Jdialog I suspect OpenJDK itself. Not Icedtea
>> web.
>>
>>     Was the window manager always the same?
>>
>>     Are you able to prepare minimalistic reproducer? ( I guess main class
>> with few lines of jdialog setup). ?
>>
>>     Then we can try on various JDKS for you.
>>
>>     J.
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140528/b91e529d/attachment.html>


More information about the distro-pkg-dev mailing list