kapai69 / far-plugins

Automatically exported from code.google.com/p/far-plugins
0 stars 0 forks source link

FarHints and FarHintsW locks Far #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. downloaded and unpacked last stable packages of Far 1.75 build 2616
x86/2.0 build 1263 x86
2. downloaded and unpacked last FarHints/FarHintsW 1.0.16
3. in Settings.reg set "AutoMouse"=dword:0 and run it, so plugin get
executed by Shift key
After executing plugin, Far process gets stalled using 100% processor
resources. Process Explorer showed farhints in stack trace of the locked
thread.
Windows 2000 SP4 Rus
In 20091221_farhints.rar attached:
*.png - screen-shots from Process Explorer
*.reg - FarHints current registry settings

Original issue reported on code.google.com by astro.co...@gmail.com on 21 Dec 2009 at 4:04

Attachments:

GoogleCodeExporter commented 9 years ago
I can not reproduce that on XP/Vsita, sorry.
AFAIR, w2k have no GDI+ API. Try remove FarHints Image subplugin.
And show macro that you use for call FarHints.

Original comment by Max.Ru...@gmail.com on 21 Dec 2009 at 9:24

GoogleCodeExporter commented 9 years ago
It seems, Windows 2000 has GDI+ API. Google gives a clue for that
http://www.google.ru/#hl=ru&source=hp&q=gdiplus+windows+2000&btnG=%D0%9F%D0%BE%D
0%B8%D1%81%D0%BA+%D0%B2+Google&lr=&aq=f&oq=gdiplus+windows+2000&fp=2eb01c20b443f
195
I've tried renaming FarHintsImage.hll to FarHintsImage.hl and it really didn't 
load
but Far/Far2 locked any way.
Macros defined:
AltShift1
$if(Index("Shell|Editor|Viewer|Dialog|QView|Tree",MacroArea)>=0) F11 ! 1 $end
AltShift2
$if(Index("Shell|Editor|Viewer|Dialog|QView|Tree",MacroArea)>=0) F11 ! 2 $end
F23
$if(Shell|Editor|Viewer|Dialog|QView|Tree) CallPlugin(FarHints, 0) $end
I've also caught Far.exe process with active window like this (see 
Far.exe.1.txt)
Window title:          GDI+ Window
HWND:                  007601BA
Window style:          A4000000  WS_POPUP WS_MINIMIZE WS_CLIPSIBLINGS
Extended style:        00000000 
Ordinary process dump in Far.exe.2.txt
Same without FarHintsImage.hll loaded in Far.exe.no-farhintsimage.txt

Original comment by astro.co...@gmail.com on 22 Dec 2009 at 7:56

Attachments:

GoogleCodeExporter commented 9 years ago
If you ready to help, please do next:
1. Download debug version of FarHints
2. Run DbWinOle utilities (included), check all items in Show menu (except 
Pause)
3. Run Far and reproduce problem
4. Save log and attach here.
Thank you.

Original comment by Max.Ru...@gmail.com on 22 Dec 2009 at 6:15

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you. Your debug version works like a charm!
I've attached produced debug log.

Original comment by astro.co...@gmail.com on 23 Dec 2009 at 10:43

Attachments: