doublecmd icon indicating copy to clipboard operation
doublecmd copied to clipboard

While a larger copy operation is in progress, pressing Win+D exits the program

Open kongomongo opened this issue 11 months ago • 4 comments

Version

Double Commander Version: 1.1.22 gamma Revision: 662 Commit: 6baafba86 Build date: 2025/01/19 Lazarus: 3.8.0.0 FPC: 3.2.2 Platform: x86_64-Win64-win32/win64 OS version: Windows 10 22H2 x86_64

Description

as title. The program simple exits. is there a log file that i can provide?

kongomongo avatar Feb 16 '25 10:02 kongomongo

is there a log file that i can provide?

Maybe doublecmd.err file from settings directory. But I guess it will not contain any related info. Also you can check Windows Event Log.

alexx2000 avatar Feb 16 '25 11:02 alexx2000

ahh, thanks! here is the doublecmd.err:

It seems to be the "ELayoutException: TControl.InvalidatePreferredSize"

--------------- 16-02-2025, 10:15:17 ---------------
| DC v1.1.22 gamma Rev. 662 -- x86_64-Win64-win32/win64
| Windows 10 22H2 x86_64 | PID 14744
Unhandled exception: EAccessViolation: Access violation
  Stack trace:
  $00007FF7212D09E5 in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721310757 in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF72154369F line 5078, column 25 of grids.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721538C49 line 114, column 36 of lclmessageglue.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721454F41 line 2642, column 38 of win32/win32callback.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF72145571F line 2807, column 19 of win32/win32callback.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FFAD408EF5C in C:\Windows\System32\user32.dll
  $00007FFAD408E684 in C:\Windows\System32\user32.dll
  $00007FF721456921 line 420, column 37 of win32/win32object.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721327163 line 1284, column 5 of include/application.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721327687 line 1427, column 9 of include/application.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721438698 line 54, column 20 of include/interfacebase.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF72132764A line 1415, column 21 of include/application.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF7212C405C line 240, column 7 of doublecmd.lpr in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF7212C4146 line 256, column 1 of doublecmd.lpr in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF7212DA010 in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF7212C3C27 in C:\Program Files\Double Commander\doublecmd.exe

--------------- 16-02-2025, 11:05:37 ---------------
| DC v1.1.22 gamma Rev. 662 -- x86_64-Win64-win32/win64
| Windows 10 22H2 x86_64 | PID 24964
Unhandled exception: ELayoutException: TControl.InvalidatePreferredSize loop detected pnlButtons:TPanel Bounds=l=0,t=273,r=0,b=334
  Stack trace:
  $00007FF72148FF06 line 5741, column 3 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF72148FE86 line 5758, column 7 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF7214848B5 line 792, column 6 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF72147886D line 3836, column 3 of include/wincontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721484273 line 716, column 3 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF72148F940 line 5584, column 3 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721476F8B line 3046, column 7 of include/wincontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF7214766B8 line 3159, column 27 of include/wincontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721476237 line 3236, column 11 of include/wincontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF72147DE90 line 6454, column 5 of include/wincontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF7214895CB line 3096, column 7 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721489608 line 3098, column 48 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721489608 line 3098, column 48 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF72148937C line 3146, column 7 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF721477F49 line 3547, column 7 of include/wincontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF7214835FE line 393, column 9 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $00007FF7214835BD line 388, column 7 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe


kongomongo avatar Feb 16 '25 16:02 kongomongo

I have to add that I am using 250% DPI windows setting on a 4k TV (65")

kongomongo avatar Feb 16 '25 18:02 kongomongo

I can also crash doublecmd just by minimizing the copy operation window (clicking the taskbar icon while it is in focus)

kongomongo avatar Mar 16 '25 07:03 kongomongo

Same problem here.

Neo-cpu761 avatar May 11 '25 11:05 Neo-cpu761

Same problem here.

Do you also have DPI scaling (>100%) enabled?

kongomongo avatar May 23 '25 06:05 kongomongo

Same problem here.

Do you also have DPI scaling (>100%) enabled?

yes

Neo-cpu761 avatar May 23 '25 06:05 Neo-cpu761

Same problem here.

Do you also have DPI scaling (>100%) enabled?

yes

how much scaling if i may ask?

@alexx2000 can you test on your end with dpi scaling enabled?

kongomongo avatar May 23 '25 11:05 kongomongo

Same problem here.

Do you also have DPI scaling (>100%) enabled?

yes

how much scaling if i may ask?

Image

Neo-cpu761 avatar May 23 '25 11:05 Neo-cpu761

Fixed.

alexx2000 avatar May 23 '25 14:05 alexx2000

You are the best, can't wait to see this in prod.

kongomongo avatar May 24 '25 18:05 kongomongo

can confirm: fix (1.1.25) works for me!

kongomongo avatar Jun 15 '25 16:06 kongomongo