CnPack Forum


 
Subject: Bugs and Suggestions - Update 17/5/2009
E.Z
新警察
Rank: 1



UID 42286
Digest Posts 0
Credits 10
Posts 4
点点分 10
Reading Access 10
Registered 2009-4-30
Location Israel
Status Offline
Post at 2009-5-1 01:56  Profile | Blog | P.M. 
Bugs and Suggestions - Update 17/5/2009

Hi,

I've just installed the latest version of CnWizards (on Delphi7), and I'm very impressed with all the useful features. So first of all I'd like to thank the developers for a great work, and for making it free.

During the first few hours of using CnWizards I discovered some problems, which I hope canbe fixed or improved:
  1. Major issue - Some GExperts keys not working
    After installing CnWizards, some (not all) of GExperts shortcut keys do not work.
    For example these do not work: Ctrl+Alt+Up/Down/Left/Right, Shift+Alt+C, Shift+Alt+I.
    For example these work as before: Ctrl+Alt+Z, Shift+Alt+R.
    (Maybe CnWizards can implement those functions from GExperts...)
  2. Minor issue - Line numbers
    The (auto-) width of the gutter is not calculated correctly for bitmap bold font. For example I use a bitmap font called ProggyOptiS, and I set the current line number to show in bold. The regular line numbers display correctly, but for the current line the first digit is not shown. See image below.
  3. Minor issue - Eval Swap
    I write most expressions like this: a:=b; (no spaces). The Eval Swap features adds spaces, so the result is: b := a; (with spaces). Not a big problem, but I suggest to keep the spacing and only reverese the expression.
  4. Major issue - Tab Order and forms in RTL-language
    First of all RTL means Right To Left, for example languages like Hebrew and Arabic that are written from right to left. For such languages all the visual layout of forms is also from right to left.
    However the Tab Order feature of CnWizards works only from left to right or top to bottom. There is a "reverse mode" checkbox, but it's not a solution because it reverses both horizontal and vertical order. I suggest one of the following:
    • Simple solution - Seperate selection of "reverse mode" for horizontal and vertical.
    • Optimal solution - Use the BiDiMode property of the container control (TForm, TPanel, etc.) to determine the correct order of controls.
Probably I will have more comments as I use CnWizards more.

Thanks again!

EZ.

[ Last edited by  E.Z at 2009-5-18 01:26 ]
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-5-1 07:34  Profile | Blog | P.M. 
Thanks for your detailed reporting. We'll consider these problems and try to fix or enhance them.

BTW, where's the image about 2?
Top
E.Z
新警察
Rank: 1



UID 42286
Digest Posts 0
Credits 10
Posts 4
点点分 10
Reading Access 10
Registered 2009-4-30
Location Israel
Status Offline
Post at 2009-5-1 14:24  Profile | Blog | P.M. 
I'm sorry, forgot to add the image...

Here it is:



EZ
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-5-1 22:05  Profile | Blog | P.M. 
Thanks.

About 1, some friends also reported the same problem, but it's hard to investigate for the IDE's internal keybinding mechanism. Now we also don't have good way to deal with the confilicts. You can try to disable or set other short cut to Shift+Alt+C, Shift+Alt+I( I remember they're in our Editor Flat button's Drop down menu).

2/3/4, we've done some fix and enhancement.Please download our latest nightly build version 0.9.1.502 (or later) to verify it?

http://www.cnpack.org/downbuilds.php
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-5-1 22:06  Profile | Blog | P.M. 
Mistake. 0.9.1.503.
Top
E.Z
新警察
Rank: 1



UID 42286
Digest Posts 0
Credits 10
Posts 4
点点分 10
Reading Access 10
Registered 2009-4-30
Location Israel
Status Offline
Post at 2009-5-3 23:51  Profile | Blog | P.M. 
Hi,

I've downloaded and tested the lastest builds (.503 and .504), and here are the results:

  1. On one computer there's still a problem, on two other computers there's no problem. Probably this is not a CnWizards issue.
  2. Almost solved. See image below - the bold number seems left aligned and left pixel is clipped. You can download the font (ProggyOptiS) here:http://z505.com/fonts/GoodPasFont.zip
  3. Solved.
  4. Solved (I didn't yet try all combinations, but seems to work very nice).
  5. Minor issue - foreground colour of current identifier
    There is a setting for highlighting all instances of current identifier, and another setting for the highlight (background) color. However the foreground color is fixed black. I use a highlight color that is not very bright, so I get black font on a dark background, which is very hard to read. I suggest to add choice of highlight foreground color.

Thanks for the quick fixes!

Regards,

EZ.

---

Image for issue#2:

Top
E.Z
新警察
Rank: 1



UID 42286
Digest Posts 0
Credits 10
Posts 4
点点分 10
Reading Access 10
Registered 2009-4-30
Location Israel
Status Offline
Post at 2009-5-18 03:09  Profile | Blog | P.M. 
Hi again,

Here's an interesting update on one of the previous issues, and another bug / suggestion:

  1. Solved! The problem with GExperts keys not working (Ctrl + Alt + Up/Down/Left/Right) is not related to CnWizards. The culprit is Intel video driver, which uses some hot-keys to bring up the settings window, rotate the display, etc. In some configurations the driver uses Ctrl + Alt + Arrows for rotating or flipping the display, so it intercepts those combinations and Delphi never sees them. However the hot-keys feature can be disabled in the driver settings, and then Delphi gets Ctrl + Alt + Arrows and all works well.
  2. Almost solved - waiting for update.
  3. Solved.
  4. Solved.
  5. Open.
  6. Comment / UnComment / Toggle Comment when no selected block
    Most of the Code Editor Wizards operate only when a block of text is selected. However the comment-related operations operate on the current line when no block is selected. This is a bit confusing, and it's impossible to have a "single key comment toggle".
    For example in Castalia the slash (/) key is used to toggle comment on the selected block. If a block is not selected, then the slash key just inserts a slash character. But with (current) CnWizards if I assign the slash key to Toggle Comment, then I cannot insert the slash character, because it comments the current line (even when a block is not selected).
Thanks,

EZ

[ Last edited by  E.Z at 2009-11-19 21:44 ]
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-5-18 06:42  Profile | Blog | P.M. 
2. We're still checking this problem. This font type seems a little strange.
5. Checking.
6. I only can say requirements are so different. In fact, this behavior of CnWizards is the same as BDS IDE itself. When no selection, it will comment/uncomment current line and move cursor tonext line defaultly. CnWizards implements the same function in D7 or below. Maybe we can add another option to control whether processing selection.
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-5-18 20:16  Profile | Blog | P.M. 
2. This font type is not Monospaced Font. If bold, one char will occupy more width than regular. And its position will also changed a little, that's why it looks like left-clipped.

Now we enlarge the gutter width with 1 pixel. We hope it and other fonts all can show correctly.
You can download our 0.9.1.509 to see it, but maybe not obvious.
Top
 




All times are GMT++8, the time now is 2024-11-23 21:43

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.013716 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP