Hi,

I've downloaded Padre 0.03.

I found a new module which is required but perl Makefile.pl can't detect that's 
required.

It is Pod::Simple::HTML.

I wrote another message yesterday but I couldn't send it because I had no 
internet connection at home.

The labels from some menus are not defined at all, so there are no hotkeys 
defined for them either explicitly.
The problem is that some menus have a label defined, but their hotkeys are not 
defined well.

For example, instead of 

"Search again (F3)"

if I changed to

"Search again\tF3"

the hotkey F3 works fine.

and it is the same for other modules which don't use this syntax.

Some modules like copy, paste, have a stock ID defined and the hotkeys for them 
work fine even it doesn't appear in the menu, but I think the best idea would 
be to set the labels explicitly and also define a hotkey manually for them, 
because it will be visible in the menu item.

I don't know, maybe if the label for a menu that has a stock ID defined is not 
specified explicitly, that menu label will appear in different languages based 
on the locale, so it would be an advantage, but if a translation is wanted, I 
think it is better to specify the labels manually, specify the hotkeys, and do 
the translation separately using a perl module for that thing.

Octavian

----- Original Message ----- 
From: "Gabor Szabo" <[EMAIL PROTECTED]>
To: "wxperl-users" <[email protected]>
Sent: Monday, July 28, 2008 11:37 AM
Subject: Re: Padre 0.02 released


> Hi Octavian,
> 
> thanks for your time and detailed report.
> 
> Hopefully in a few days I am going to setup a version control and bug
> tracking system specifically for this project to make it easier to get 
> involved.
> 
> In the meantime let me address your mail point by point here.
> 
> On Sun, Jul 27, 2008 at 12:36 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I use Win XP Pro SP3, Active Perl 5.8.8.
>>
>> Here is my feedback:
>>
>> 1. I think you should specify that the program requires
>> Wx::Perl::ProcessStream
>>
>> After "perl Makefile.pl" it didn't tell me that I don't have that module
>> installed, but it gave an error on "make test".
>> After I installed that module, I was able to install your program without
>> other errors.
> 
> This is strange as that module is in the list of prereq but I have seen
> similar issues recently. I just never had the time to investigate them.
> 
> 
>> 2. I have opened a file, but I can't close the editor.
>> I think that I have modified it a little by mistake, and it forces me to
>> save what I've done, because otherwise it doesn't want to close it without
>> saving.
>> I think you should add a "Cancel" button to that dialog, or ask if the user
>> wants to save, and offer the yes, no, and cancel buttons.
> 
> 
>> 3. I have tried Help menu/Help, but I couldn't read anything there.
>> Have you used an HTML control in that window?
>> (That control is absolutely not accessible for screen readers.)
>> I think the prefered way, not only for the blind, would be to create a .chm
>> help file.
> 
> That whole thing will have to be reworked. For 0.03 I put in a default page
> as it was empty. BTW You can open any pod file with that and if you highlight 
> a
> module name in the editor and  press ctr-shift-h you get the pod of
> that module.
> 
>> 4. When switching the panes using control+tab, the program works fine, but
>> the focus is set to the tab label. A more friendly way would be to set the
>> focus in the text document directly, because usually this is the wanted
>> thing.
>> (But for a first version, it is very OK as it is.)
> 
> Funny. I have not implemented that so you got that "free of charge" from
> Wx on MS Windows. In 0.03 I explicitly added this support.
> 
> 
>> 5. A suggestion: In the file menu, usually the "New" is located above the
>> "Open".
>> When I opened the File menu, I thought that this editor doesn't have a "New"
>> option. :-)
> 
> As said, I have no clue how these work in other systems. I usueally just type
> Esc :e filename
> to open a file.
> 
> Anyway, fixed.
> 
>> 6. In the Edit menu, you should add the hotkeys for Undo, redo... because at
>> least Control+Z works, but this is not visible from the menu.
> 
> I am using
> 
> EVT_MENU( $self, $edit->Append( wxID_UNDO,    ''       ), \&on_undo    );
> 
> but it seems the stock item does not add the hotkeys to the menu, not
> even on linux.
> Do you see the hotkey on he File/New menu? I see it on Ubuntu but I am not
> sure I was it when I tried it on Windows.
> 
> 
>> 7. The hotkey for "Find again" (F3) doesn't seem to work. If I choose the
>> menu option though, it works fine.
> 
> I think I reported this already that on_key does not seem to work on windows.
> I'll have to investigate it how to make it work.
> 
>> 8. Another suggestion: A status bar that could possibly show the line and
>> column number, won't hurt. :-)
> 
> see 0.03
> 
>>
>> 9. I don't understand what does it refer to "Max number of modules" and "min
>> number of modules" in the Setup window.
> 
> explained in the docs of 0.03 - I hope
> 
>> 10. It would be nice to be able to close the files using Control+F4.
> 
> It is now Ctr-W as it is in gedit and in several other apps on Ubuntu.
> I wonder if this is a difference between the "standard" of Linux and Windows?
> 
>> 11. I don't know why pressing Alt+F doesn't open the File menu when the
>> focus is on one of the tab labels...
> 
> I also saw similar strange behaviors on Ubuntu. I am still not sure
> sure if this is a
> bug in Wx or in they way I am using it.
> 
> 
>> 12. I've seen that if I close the files individually and if they are not
>> saved, the program asks if I want to save them or not. I think you should
>> add a "Cancel" option, because maybe I've changed my mind, and I don't want
>> to close the current file.
> 
> Added a cancel button to the close file window.
> 
>> And when I want to close the whole app (easier than using the Task manager
>> :), if there are more unsaved files opened, it would be nice to offer us a
>> list of files and let us check wich of them we want to save, all of them,
>> only the checked ones, or none, or cancel the whole close operation.
>> (These are suggestions for the future, not criticism.)
> 
> It is in the TODO.
> 
> 
>> 13. The foreground/background colors of the selected text looks a little
>> strange if my screen reader reports it correctly.
>> The normal text is something like navy (a kind of blue?) on white, and the
>> selected text is navy on gray.
>> Usually the colors are inverted when selecting, like white on blue or
>> something like that.
>>
>> I think I could change my screen reader's highlight settings for the current
>> app in order to read the highlighted text correctly, but I don't know why,
>> the screen reader sees the app as wx.dll, which is the same for all the
>> applications made using WxPerl, so I would change these settings for all the
>> apps using WxPerl.
>> (I don't know where the screen reader is looking for getting the name of the
>> executable, so I don't know how could I fix that.)
> 
> It is set in Padre::Panel.
> You are welcome to play with that. I have no idea how it works.
> 
>> 14. Another suggestion: It would be nice to show the title of the current
>> file in the title bar, if not always, at least if the user chooses that in
>> the preferences.
>> Or at least it should be possible to use the keyboard to jump from the
>> current file to its own tab label, to see what it is written there, because
>> otherwise it is hard to know which file is the current one (If the user
>> can't see.).
> 
> I added this to the status bar for now.
> 
>> 15. I couldn't use the options from the "Run" menu.
>> I have configured it to run
>>
>> perl
>> perl $file (like in TextPad)
>> perl file.txt
>>
>> where file.txt is the currently opened file, but when using F5 or
>> Control+F5, nothing happend.
>> I've seen that there is a command results (maybe) readonly text field at the
>> bottom of the window, but nothing is printed there.
>>
>> Anyway, if that it is a field for outputting the results, it would be nice
>> to have a hotkey that moves the cursor there, because if somebody wants to
>> copy the results but it doesn't use a mouse.... it can't do it.
> 
> Yeah, that's it.
> 
> What should be that hot-key?
> What is the "standard"?
> 
> Gabor
> 
>>
>> HTH.
>>
>> Octavian
>>
>> ----- Original Message ----- From: "Gabor Szabo" <[EMAIL PROTECTED]>
>> To: "wxperl-users" <[email protected]>
>> Sent: Sunday, July 27, 2008 9:45 AM
>> Subject: Padre 0.02 released
>>
>>
>>> Hi,
>>>
>>> after long consideration and help from the #perl.it people I decided
>>> to call it Padre - Perl Application Development and Refactoring
>>> Environment.
>>> It is aiming very high so it is likely it will fail but I hope there
>>> are going to be a few
>>> people here on this list as well, who would might be able to help so
>>> it has some chances to survive.
>>>
>>> For now it is just an editor.
>>>
>>> Padre is written in wxWidgets with my extremely limited knowladge.
>>> So I would appreciate any help.
>>> If you have time, please look at the code and comment on it.
>>> How would you structure it?
>>> How would you test?
>>> Does it work on your computer?
>>> etc.
>>>
>>> http://search.cpan.org/dist/Padre
>>>
>>> regards
>>>  Gabor
>>>
>>>
>>> --
>>> Gabor Szabo                     http://szabgab.com/blog.html
>>> Test Automation Tips        http://szabgab.com/test_automation_tips.html
>>
>>
> 
> 
> 
> -- 
> Gabor Szabo http://szabgab.com/blog.html
> Perl Training in Israel http://www.pti.co.il/
> Test Automation Tips http://szabgab.com/test_automation_tips.html
> Phones: +972-8-975-2897 +972-54-4624648

Reply via email to