1st buglet discovered
Moderators: fgagnon, nikos, Site Mods
1st buglet discovered
peek preview for pics has a bug, it won't show big pictures, cropping them to nPeekTextWidth pixels (a registry setting meant for text files). Sorry about that, I did a last minute change that backfired
I'm sure there are many small glitches like this left, despite the efforts of beta testing team, but no worries, just keep reporting them and there will be a 5001 build in the near future
I'm sure there are many small glitches like this left, despite the efforts of beta testing team, but no worries, just keep reporting them and there will be a 5001 build in the near future
Re: 1st buglet discovered
A peek preview nano-bug: the peek display can be dismissed with "any" key, but if that key is alt-F4, then alt-Q is no longer responsive. I have an Autohotkey script that quickly closes any window under the mouse using xbutton2 to raise the window and send alt-F4. I reflexively use it everywhere and have to restart Xplorer² to get alt-Q working again when I do that to a peek.
Alan
Alan
Re: 1st buglet discovered
Nice one!
View > Peek preview doesn't work either.
View > Peek preview doesn't work either.
Re: 1st buglet discovered
queer! alt+F4 destroys the window behind xplorer2's back. I'll add a test for this
@Gandolf keep in mind that peek preview doesn't work for all file types, just pics and text "documents"
Re: 1st buglet discovered
I know that, it's one of the reasons I don't see much point in it.
However, do this:
Focus a jpg file
View > Peek preview - image is previewed
Alt+F4 - Peek preview closes
View > Peek preview - NO PEEK PREVIEW
The point I was making was that it's not only Alt+Q that stops working, it's Peek preview that stops working, regardless of how it's enabled.
I've also realised that the Peek preview is on top of any window - Alt+TAB to another application and Peek preview is on top of it. I dislike Peek preview more and more! Sorry Nikos but I think it's the first time in x² (or 2X) that you've done something that I can see no point in. My moan for this year!!
Re: 1st buglet discovered
ok that's the same "bug" reported by astewart, it will be fixed
the good news is that peek preview isn't compulsory, like covid vaccination, so you don't have to worry about it
the good news is that peek preview isn't compulsory, like covid vaccination, so you don't have to worry about it
Re: 1st buglet discovered
Yay, after a decade of radio silence, I have a bug kill. I have already vaccinated myself against this viral bug with an Autohotkey exception for the WTL_QuickView class window.
Autohotkey and Xplorer² are like my extra right and left hands...
Alan
Re: 1st buglet discovered
Hello Alan,
As a neo-AHK user, can you please post the code you use with AHK to silence the Quickview window?
----------------
PJ in FL
Re: 1st buglet discovered
This is a portion of a larger script that uses XButton1 to close or minimize any window under the mouse as appropriate. For a hand full of programs, I want minimize, and for some others alt-F4 doesn't close well. However, the default is alt-F4. Without a case for QuickView,the default blew it up. The correct case is simply "Click" and the preceeding "WinActivate" does nothing. This code is specific to my uses and includes a tooltip to verify what's about to close.
Code: Select all
; fast close / minimize window under the mouse cursor
XButton1::
CoordMode, Mouse
CoordMode, ToolTip
While (GetKeyState("XButton1", "P"))
{
sleep 10 ; less flicker
MouseGetPos, mx, my, NextID
If (!NextID)
{
CursorID := 0
tt := "▶"
ToolTip, % tt, mx+20, my+(my>20?-20:20)
continue
}
WinGetClass, CursorClass, ahk_id %NextID%
If (CursorClass = "tooltips_class32") ; mouse overran tooltip
{
ToolTip, % tt, mx+20, my+(my>20?-20:20) ; move last tt
continue
}
If (CursorClass = "Progman" || CursorClass = "Shell_TrayWnd") ; desktop or tray
{
CursorID := 0
tt := "▶◀"
ToolTip, % tt, mx+20, my+(my>20?-20:20)
continue
}
CursorID := NextID
WinGet, CursorName, ProcessName, ahk_id %CursorID%
WinGet, CursorPID, PID, ahk_id %CursorID%
tt := "▼▼ " CursorName " " CursorPID
ToolTip, % tt, mx+20, % my+(my>20?-20:20)
}
ToolTip
If (!CursorID)
return
WinActivate, ahk_id %CursorID%
WinWaitActive, ahk_id %CursorID%,, 2 ; maybe slow activation
If ErrorLevel
return
IfWinActive, ahk_class ATL:ExplorerFrame ; xplorer²
{
PostMessage, 0x112, 0xF020 ; min to tray
; 0x112, 0xF020 -> WM_SYSCOMMAND, SC_MINIMIZE
return
}
IfWinActive, ahk_class ATL:ScrapFrame ; xplorer² scrap pane
{
SendInput !{F4} ; close
return
}
IfWinActive, ahk_class WTL_QuickView ; xplorer² peek
{
Click ; dismiss
return
}
IfWinActive, ahk_class ATL:DeskRule ; deskrule
{
SendInput !x ; close
return
}
IfWinActive, ahk_exe palemoon.exe ; Pale Moon
{
WinGetTitle, title
If RegExMatch(title, "(Pale Moon|Portable)( \(Private Browsing\))?$")
PostMessage, 0x112, 0xF020 ; min to tray
Else
SendInput !{F4} ; close Library, Page Info, etc
return
}
IfWinActive, ahk_exe msedge.exe ; Edge
{
PostMessage, 0x112, 0xF020 ; min to tray
return
}
IfWinActive, ahk_exe basilisk.exe ; Basilisk
{
PostMessage, 0x112, 0xF020 ; min to tray
return
}
IfWinActive, ahk_exe thunderbird.exe ; Thunderbird
{
WinGetTitle, title
If RegExMatch(title, "Mozilla Thunderbird$")
PostMessage, 0x112, 0xF020 ; min to tray
Else
SendInput !{F4} ; close Address Book, Write:, etc
return
}
IfWinActive, ahk_exe i_view32.exe ; Irfan
{
SendInput {Escape} ; exit
return
}
IfWinActive, ahk_exe notepad\+\+.exe ; Notepad++
{
SendInput !{F4}
return
; alternative controlled shutdown
SendInput {Esc}+^w ; Escape any search, Close All files
Loop
{
Sleep 500
If (WinExist("^Save ahk_exe notepad\+\+.exe")) ; Save or Save As dialog
{
Loop {
} Until !WinExist("^Save ahk_exe notepad\+\+.exe")
}
Else
break
}
SendInput !{F4} ; exit
return
}
; default
SendInput !{F4} ; exit
return
Code: Select all
IfWinActive, ahk_class ATL:ExplorerFrame ; xplorer²
{
PostMessage, 0x112, 0xF020 ; min to tray
; 0x112, 0xF020 -> WM_SYSCOMMAND, SC_MINIMIZE
return
}
IfWinActive, ahk_class ATL:ScrapFrame ; xplorer² scrap pane
{
SendInput !{F4} ; close
return
}
IfWinActive, ahk_class WTL_QuickView ; xplorer² peek
{
Click ; dismiss
return
}
Re: 1st buglet discovered
Alan,astewart wrote: ↑2021 Mar 08, 18:39This is a portion of a larger script that uses XButton1 to close or minimize any window under the mouse as appropriate. For a hand full of programs, I want minimize, and for some others alt-F4 doesn't close well. However, the default is alt-F4. Without a case for QuickView,the default blew it up. The correct case is simply "Click" and the preceeding "WinActivate" does nothing. This code is specific to my uses and includes a tooltip to verify what's about to close.
...
Alan
That's quite interesting!
Thank you for sharing this work with us.
-----------------
PJ in FL