View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001858 | Double Commander | Default | public | 2017-05-31 23:21 | 2017-05-31 23:46 |
Reporter | nicker | Assigned To | |||
Priority | high | Severity | block | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Projection | none | ETA | none | ||
Product Version | 1.0.0 (trunk) | ||||
Summary | 0001858: Infinite loop caused by TCustomGrid | ||||
Description | When saving a file while in thumbnail view an infinite loop may occur. There are also cases where the infinite loop occurs just by leaving the double commander open in thumbnail view. This is related also to the specific layout, the size of the window and the size of the thumbnail, in my case all set to default on a QHD display (2560x1440). I've added the call stack under the 'Additional Information field. The loop occurs in the function TCustomGrid.ScrollToCell at c:\lazarus\lcl\grids.pas line 3326 | ||||
Steps To Reproduce | 1. Navigate to a folder with several dozens of images. 2. Switch to thumbnail view. 3. Select an arbitrary image file. 4. Change the window size of double commander to 1200x800 5. Minimize double commander 6. Edit and save the selected image file using an external image editor. 7. Restore double commander. | ||||
Additional Information | CALLSTACK #0 SCROLLTOCELL(0xcb78400, 3, 0, false) at grids.pas:3340 0000001 MOVEEXTEND(0xcb78400, false, 3, 0) at grids.pas:7175 #2 SETCOL(0xcb78400, 3) at grids.pas:2963 #3 SETACTIVEFILE(0xcb3dc60, 3) at fileviews\ufileviewwithgrid.pas:691 #4 SETUPDATE(0x64cf89c, 3) at fileviews\uorderedfileview.pas:768 #5 SETACTIVEFILENOW(0xcb3dc60, 0xcd95c6c 'd:\Winslow\zmisc\PhotoShop\shani.psd') at fileviews\uorderedfileview.pas:784 #6 DISPLAYFILELISTCHANGED(0xcb3dc60) at fileviews\ufileviewwithgrid.pas:511 #7 HANDLENOTIFICATIONS(0xcb3dc60) at fileviews\ufileview.pas:3091 #8 NOTIFY(0xcb3dc60, [FVNDISPLAYFILELISTCHANGED, FVNFILESOURCEFILELISTUPDATED]) at fileviews\ufileview.pas:3143 0000009 ADDFILE(0xcb3dc60, 0x168b8374 'ps163A.tmp', 0xcd48dc4 'd:\Winslow\zmisc\PhotoShop', NFPSORTEDPOSITION, UFPNOCHANGE) at fileviews\ufileview.pas:1059 0000010 HANDLEFSWATCHEREVENT(0xcb3dc60, {PATH = 0xcd48dc4 'd:\Winslow\zmisc\PhotoShop', EVENTTYPE = FSWFILECREATED, FILENAME = 0x168b8374 'ps163A.tmp', NEWFILENAME = 0x0, USERDATA = 0x0}, NFPSORTEDPOSITION, UFPNOCHANGE) at fileviews\ufileview.pas:3264 0000011 WATCHEREVENT(0xcb3dc60, {PATH = 0xcd48dc4 'd:\Winslow\zmisc\PhotoShop', EVENTTYPE = FSWFILECREATED, FILENAME = 0x168b8374 'ps163A.tmp', NEWFILENAME = 0x0, USERDATA = 0x0}) at fileviews\ufileview.pas:3337 0000012 DOWATCHEREVENT(0x688e3e8) at platform\ufilesystemwatcher.pas:790 0000013 CLASSES_$$_EXECUTETHREADQUEUEENTRY$TThread.PTHREADQUEUEENTRY at :0 0000014 CLASSES_$$_CHECKSYNCHRONIZE$LONGINT$$BOOLEAN at :0 0000015 DOWINDOWPROC(0x6823bf8) at win32\win32callback.inc:1962 0000016 WINDOWPROC(2565134, 0, 0, 0) at win32\win32callback.inc:2604 0000017 USER32!AddClipboardFormatListener at :0 0000018 USER32!DispatchMessageW at :0 0000019 USER32!DispatchMessageW at :0 0000020 USER32!DispatchMessageW at :0 0000021 APPPROCESSMESSAGES(0x6891420) at win32\win32object.inc:366 0000022 HANDLEMESSAGE(0x6839820) at include\application.inc:1262 0000023 RUNLOOP(0x6839820) at include\application.inc:1399 0000024 APPRUN(0x6891420, {Proc = {procedure (POINTER)} 0x64cfee8, Self = 0x6839820}) at include\interfacebase.inc:54 0000025 RUN(0x6839820) at include\application.inc:1387 0000026 main at doublecmd.lpr:199 | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
Operating system | Windows | ||||
Widgetset | Win32 | ||||
Architecture | 64-bit | ||||