11 comments
Comment actions Permalink

When the target directory chooser appeared, I was not able so select
any of the paths other than the first (default selection) one. The
other paths are visible but selecting them does not really change the
selection.

Michael

On Sun, 21 Jul 2002 15:44:33 +0200, "Hendrik Schreiber"
<hs@tagtraum.com> wrote:

>=> http://www.tagtraum.com/ideajad.html
>
>-hendrik
>
>Changes:
>
>IdeaJad 636.1
>=============
>- The stub is closed and the decompiled file opened

automatically

>- Temporary extracted jars are now deleted properly
>

0
Comment actions Permalink

This was the bug I found. You can use the keyboard to change the
combo box selection. Interestingly, this does not happen in the other
IDEA combo boxes. even in other plugins.

Michael Descher wrote:

When the target directory chooser appeared, I was not able so select
any of the paths other than the first (default selection) one. The
other paths are visible but selecting them does not really change the
selection.

Michael

On Sun, 21 Jul 2002 15:44:33 +0200, "Hendrik Schreiber"
<hs@tagtraum.com> wrote:

>>=> http://www.tagtraum.com/ideajad.html
>>
>>-hendrik
>>
>>Changes:
>>
>>IdeaJad 636.1
>>=============
>>- The stub is closed and the decompiled file opened
>> automatically
>>- Temporary extracted jars are now deleted properly
>>



--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

Excuse me, the other plugin in question was using JOptionPane.
So looks like a bug in the API's ChooseDialog.

Erb wrote:

This was the bug I found. You can use the keyboard to change the
combo box selection. Interestingly, this does not happen in the other
IDEA combo boxes. even in other plugins.

Michael Descher wrote:

>> When the target directory chooser appeared, I was not able so select
>> any of the paths other than the first (default selection) one. The
>> other paths are visible but selecting them does not really change the
>> selection.
>>
>> Michael
>>
>> On Sun, 21 Jul 2002 15:44:33 +0200, "Hendrik Schreiber"
>> <hs@tagtraum.com> wrote:
>>
>>
>>> => http://www.tagtraum.com/ideajad.html
>>>
>>> -hendrik
>>>
>>> Changes:
>>>
>>> IdeaJad 636.1
>>> =============
>>> - The stub is closed and the decompiled file opened
>>> automatically
>>> - Temporary extracted jars are now deleted properly
>>>
>>
>>


--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

Thanks for the feedback. It's weird though. The line that displays the
dialog is:

indexOfChosenDir = com.intellij.openapi.ui.Messages.showChooseDialog("Please
choose a target directory:", "IdeaJad-Plugin", Messages.getQuestionIcon(),
dirStrings, dirStrings[0]);

I don't think there can be a more standard way to do this...
Which JDK/platform are you using. For me it works perfectly fine under W2K
JDK 1.4.0_01.

Is anybody aware of an platform issues regarding the ChooseDialog?

-hendrik


"Erb" <IDEA@erb.8m.com> schrieb im Newsbeitrag
news:ahh5kr$e4l$1@is.intellij.net...

This was the bug I found. You can use the keyboard to change the
combo box selection. Interestingly, this does not happen in the other
IDEA combo boxes. even in other plugins.

>

Michael Descher wrote:

When the target directory chooser appeared, I was not able so select
any of the paths other than the first (default selection) one. The
other paths are visible but selecting them does not really change the
selection.

>

Michael

>

On Sun, 21 Jul 2002 15:44:33 +0200, "Hendrik Schreiber"
<hs@tagtraum.com> wrote:

>
>
>>=> http://www.tagtraum.com/ideajad.html
>>
>>-hendrik
>>
>>Changes:
>>
>>IdeaJad 636.1
>>=============
>>- The stub is closed and the decompiled file opened
>> automatically
>>- Temporary extracted jars are now deleted properly
>>
>
>

>

--

>

Erb

>

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

>


0
Comment actions Permalink

One more suggestion: Make the decompiled file read-only.
Thanks!

Hendrik Schreiber wrote:

=> http://www.tagtraum.com/ideajad.html

-hendrik

Changes:

IdeaJad 636.1
=============
- The stub is closed and the decompiled file opened
automatically
- Temporary extracted jars are now deleted properly


--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

I am using the same platform and JDK as you, with the IDEA default L&F.
How many source paths do you have? I have 3 in my list.

Hendrik Schreiber wrote:

Thanks for the feedback. It's weird though. The line that displays the
dialog is:

indexOfChosenDir = com.intellij.openapi.ui.Messages.showChooseDialog("Please
choose a target directory:", "IdeaJad-Plugin", Messages.getQuestionIcon(),
dirStrings, dirStrings[0]);

I don't think there can be a more standard way to do this...
Which JDK/platform are you using. For me it works perfectly fine under W2K
JDK 1.4.0_01.

Is anybody aware of an platform issues regarding the ChooseDialog?

-hendrik


"Erb" <IDEA@erb.8m.com> schrieb im Newsbeitrag
news:ahh5kr$e4l$1@is.intellij.net...

>>This was the bug I found. You can use the keyboard to change the
>>combo box selection. Interestingly, this does not happen in the other
>>IDEA combo boxes. even in other plugins.
>>
>>Michael Descher wrote:
>>
>>>When the target directory chooser appeared, I was not able so select
>>>any of the paths other than the first (default selection) one. The
>>>other paths are visible but selecting them does not really change the
>>>selection.
>>>
>>>Michael
>>>
>>>On Sun, 21 Jul 2002 15:44:33 +0200, "Hendrik Schreiber"
>>><hs@tagtraum.com> wrote:
>>>
>>>
>>>
>>>>=> http://www.tagtraum.com/ideajad.html
>>>>
>>>>-hendrik
>>>>
>>>>Changes:
>>>>
>>>>IdeaJad 636.1
>>>>=============
>>>>- The stub is closed and the decompiled file opened
>>>>automatically
>>>>- Temporary extracted jars are now deleted properly
>>>>
>>>
>>>
>>--
>>
>>Erb
>>
>>==============================================================
>>"Most of you are familiar with the virtues of a programmer.
>>There are three, of course: laziness, impatience, and hubris."
>> - Larry Wall
>>==============================================================
>>



--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

OK, I found something: If I click open the combo box, then DRAG the selection to
the path I want, it selects it. But if I click to open, then release and click
on the selection, it does not select it.

Have you reported this bug yet? If not, I can.

Erb wrote:

I am using the same platform and JDK as you, with the IDEA default L&F.
How many source paths do you have? I have 3 in my list.

Hendrik Schreiber wrote:

>> Thanks for the feedback. It's weird though. The line that displays the
>> dialog is:
>>
>> indexOfChosenDir =
>> com.intellij.openapi.ui.Messages.showChooseDialog("Please
>> choose a target directory:", "IdeaJad-Plugin",
>> Messages.getQuestionIcon(),
>> dirStrings, dirStrings[0]);
>>
>> I don't think there can be a more standard way to do this...
>> Which JDK/platform are you using. For me it works perfectly fine under
>> W2K
>> JDK 1.4.0_01.
>>
>> Is anybody aware of an platform issues regarding the ChooseDialog?
>>
>> -hendrik
>>
>>
>> "Erb" <IDEA@erb.8m.com> schrieb im Newsbeitrag
>> news:ahh5kr$e4l$1@is.intellij.net...
>>
>>> This was the bug I found. You can use the keyboard to change the
>>> combo box selection. Interestingly, this does not happen in the other
>>> IDEA combo boxes. even in other plugins.
>>>
>>> Michael Descher wrote:
>>>
>>>> When the target directory chooser appeared, I was not able so select
>>>> any of the paths other than the first (default selection) one. The
>>>> other paths are visible but selecting them does not really change the
>>>> selection.
>>>>
>>>> Michael
>>>>
>>>> On Sun, 21 Jul 2002 15:44:33 +0200, "Hendrik Schreiber"
>>>> <hs@tagtraum.com> wrote:
>>>>
>>>>
>>>>
>>>>> => http://www.tagtraum.com/ideajad.html
>>>>>
>>>>> -hendrik
>>>>>
>>>>> Changes:
>>>>>
>>>>> IdeaJad 636.1
>>>>> =============
>>>>> - The stub is closed and the decompiled file opened
>>>>> automatically
>>>>> - Temporary extracted jars are now deleted properly
>>>>>
>>>>
>>>>
>>> --
>>>
>>> Erb
>>>
>>> ==============================================================
>>> "Most of you are familiar with the virtues of a programmer.
>>> There are three, of course: laziness, impatience, and hubris."
>>> - Larry Wall
>>> ==============================================================
>>>
>>
>>
>>


--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

I'm using JDK 1.4.0_01 on Windows XP and I have about 10 entries in
the select box.

Michael

On Mon, 22 Jul 2002 18:04:06 +0200, "Hendrik Schreiber"
<hs@tagtraum.com> wrote:

>Thanks for the feedback. It's weird though. The line that displays the
>dialog is:
>
>indexOfChosenDir = com.intellij.openapi.ui.Messages.showChooseDialog("Please
>choose a target directory:", "IdeaJad-Plugin", Messages.getQuestionIcon(),
>dirStrings, dirStrings[0]);
>
>I don't think there can be a more standard way to do this...
>Which JDK/platform are you using. For me it works perfectly fine under W2K
>JDK 1.4.0_01.
>
>Is anybody aware of an platform issues regarding the ChooseDialog?
>
>-hendrik
>
>
>"Erb" <IDEA@erb.8m.com> schrieb im Newsbeitrag
>news:ahh5kr$e4l$1@is.intellij.net...
>> This was the bug I found. You can use the keyboard to change the
>> combo box selection. Interestingly, this does not happen in the other
>> IDEA combo boxes. even in other plugins.
>>
>> Michael Descher wrote:
>> > When the target directory chooser appeared, I was not able so select
>> > any of the paths other than the first (default selection) one. The
>> > other paths are visible but selecting them does not really change the
>> > selection.
>> >
>> > Michael
>> >
>> > On Sun, 21 Jul 2002 15:44:33 +0200, "Hendrik Schreiber"
>> > <hs@tagtraum.com> wrote:
>> >
>> >
>> >>=> http://www.tagtraum.com/ideajad.html
>> >>
>> >>-hendrik
>> >>
>> >>Changes:
>> >>
>> >>IdeaJad 636.1
>> >>=============
>> >>- The stub is closed and the decompiled file opened
>> >> automatically
>> >>- Temporary extracted jars are now deleted properly
>> >>
>> >
>> >
>>
>> --
>>
>> Erb
>>
>> ==============================================================
>> "Most of you are familiar with the virtues of a programmer.
>> There are three, of course: laziness, impatience, and hubris."
>> - Larry Wall
>> ==============================================================
>>
>

0
Comment actions Permalink

Hendrik Schreiber wrote:

Thanks for the feedback. It's weird though. The line that displays the
dialog is:

indexOfChosenDir = com.intellij.openapi.ui.Messages.showChooseDialog("Please
choose a target directory:", "IdeaJad-Plugin", Messages.getQuestionIcon(),
dirStrings, dirStrings[0]);

I don't think there can be a more standard way to do this...
Which JDK/platform are you using. For me it works perfectly fine under W2K
JDK 1.4.0_01.


I have found this issue with NewFromTemplatePlugin as well. It seems
to be dependent on your JVM/OS combination.
I guess IntelliJ has to fix it.

Stefan



0
Comment actions Permalink

Have you reported this bug yet? If not, I can.


No I haven't. Please go ahead! Thanks.

-hendrik


>

Erb wrote:

I am using the same platform and JDK as you, with the IDEA default L&F.
How many source paths do you have? I have 3 in my list.

>

Hendrik Schreiber wrote:

>
>> Thanks for the feedback. It's weird though. The line that displays the
>> dialog is:
>>
>> indexOfChosenDir =
>> com.intellij.openapi.ui.Messages.showChooseDialog("Please
>> choose a target directory:", "IdeaJad-Plugin",
>> Messages.getQuestionIcon(),
>> dirStrings, dirStrings[0]);
>>
>> I don't think there can be a more standard way to do this...
>> Which JDK/platform are you using. For me it works perfectly fine under
>> W2K
>> JDK 1.4.0_01.
>>
>> Is anybody aware of an platform issues regarding the ChooseDialog?
>>
>> -hendrik
>>
>>
>> "Erb" <IDEA@erb.8m.com> schrieb im Newsbeitrag
>> news:ahh5kr$e4l$1@is.intellij.net...
>>
>>> This was the bug I found. You can use the keyboard to change the
>>> combo box selection. Interestingly, this does not happen in the other
>>> IDEA combo boxes. even in other plugins.
>>>
>>> Michael Descher wrote:
>>>
>>>> When the target directory chooser appeared, I was not able so select
>>>> any of the paths other than the first (default selection) one. The
>>>> other paths are visible but selecting them does not really change the
>>>> selection.
>>>>
>>>> Michael
>>>>
>>>> On Sun, 21 Jul 2002 15:44:33 +0200, "Hendrik Schreiber"
>>>> <hs@tagtraum.com> wrote:
>>>>
>>>>
>>>>
>>>>> => http://www.tagtraum.com/ideajad.html
>>>>>
>>>>> -hendrik
>>>>>
>>>>> Changes:
>>>>>
>>>>> IdeaJad 636.1
>>>>> =============
>>>>> - The stub is closed and the decompiled file opened
>>>>> automatically
>>>>> - Temporary extracted jars are now deleted properly
>>>>>
>>>>
>>>>
>>> --
>>>
>>> Erb
>>>
>>> ==============================================================
>>> "Most of you are familiar with the virtues of a programmer.
>>> There are three, of course: laziness, impatience, and hubris."
>>> - Larry Wall
>>> ==============================================================
>>>
>>
>>
>>
>

>

--

>

Erb

>

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

>


0
Comment actions Permalink

By the way, the plugin spikes 99% cpu on Windows while unzipping a large jar file,
and works a good couple of minutes.
When I wrote a non-plugin version of this, I found it was sufficient to
unzip only the class and all inner classes (example: XYZ, XYZ$ABC, XYZ&1).
You'd still need to search the jar file, but not create all the class files.

Hendrik Schreiber wrote:

=> http://www.tagtraum.com/ideajad.html

-hendrik

Changes:

IdeaJad 636.1
=============
- The stub is closed and the decompiled file opened
automatically
- Temporary extracted jars are now deleted properly


--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0

Please sign in to leave a comment.