v. 7.45: AV in sDirectoryEdit

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #34596
    mol
    Participant

    There's a small bug when an sDirectoryEdit is used with ShowButton := True. When you move the mouse over the button, the border is painted wrong and won't disappear once the cursor moved to a different location. See attachment.

    Skin is TV-b (internal)

    #45905
    Support
    Keymaster

    Hello

    What properties you have changed in this control?

    Can you show an example please?

    #45910
    mol
    Participant

    Please find attached a demo project. You have to set Ctl3D := False to reproduce the bug.

    While testing, I came across another ununsual behaviour, by the way. Right-click on the button of the sDirectoryEdit, and a pop-up dialog appears (see attachment 1, is this as designed?). Select 'Insert Unicode Control Character -> LRM'. Once you've closed the dialog and right-click on the button again, you'll either end up with an AV (see attachment 2) or a tiny and empty pop-up (see attachment 3). Can you please check? I've attached a compiled version of the demo application as well, as the last two errors I've described only appear randomly (either with the modal form still open, or after closing and reopening it).

    Vista Home Premium 32bit (all updates applied), D2007 Pro (all updates applied)

    #45923
    mol
    Participant

    Bug resolved in version 7.43 . Thanks a lot, Serge!

    #45964
    mol
    Participant

    Serge, the access violation I described in post no.3 is still there in v. 7.43. Can you check? Thanks!

    #45988
    Support
    Keymaster
    'mol' wrote:
    Serge, the access violation I described in post no.3 is still there in v. 7.43. Can you check? Thanks!

    I can't reproduce it unfortunately.

    Can you show me a callstack for the error? Can you share your PC with me?

    #45994
    mol
    Participant

    Steps to reproduce:

    1. Run test.exe in Debug Mode from the Delphi IDE

    2. Click on Button 1

    3. Right-click on button of sDirectoryEdit1 on the modal Form2

    4. Choose the 'Insert Unicode Control Character' menu item from the popup menu

    5. Click on LRM, closing the popup menu

    6. Right-click on the button of sDirectoryEdit1 again

    7. Crash

    Error message: “First chance of exception at $76C4FBAE. EAccessViolation at address FEEEFEEE. Read of address FEEEFEEE.”

    Sometimes the whole IDE locks up and I can't kill the running test program anymore – not even through the Windows Task Manager. I have to stop the Delphi process to gain control again.

    If you run the test program outside the IDE, you will get the behaviour I've described in post #3.

    The PC is a development machine and not hooked up to the web, sorry.

    .

    #46022
    Support
    Keymaster

    I can't reproduce it still, but I'll try more on other machines.

    You have this issue under Vista only? Can you check it please?

    #46035
    mol
    Participant

    Bug only occurs in Vista, not in XP.

    #46112
    mol
    Participant

    Bug is still present in 7.45 beta

    #46172
    Support
    Keymaster
    'mol' wrote:
    Bug is still present in 7.45 beta

    Reasons are same as in the topic about a print dialog. I will search other systems.

    Or maybe you can give me access to your PC for debugging?

    #46248
    mol
    Participant

    Serge, I finally found out what is causing the AV.

    Steps to reproduce:

    Open ASkinDemo

    Remove PopupMenu1 from the PopupMenu property of MainForm

    Recompile

    Click on the 'Skin options' tab and then right-click on the button of the SkinsDirectoryEdit

    Click 'Insert Unicode control character' -> 'LRM'

    Close popup menu

    Right-click on the button of SkinsDirectoryEdit again

    Access Violation (you will have to kill both Delphi and the demo in the Task Manager afterwards!)

    #46271
    Support
    Keymaster

    I have already a system where I can reproduce a problem.

    This issue will be solved in the next release.

    #46368
    mol
    Participant

    Resolved in 7.47 beta.

    Thanks, Serge.

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.