QL-Win / QL-Win/QuickLook

Quicklook doesn't work anywhere but the desktop on Win 10 if multi-non Latin languages pack installed

Open
#1,980 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
24.7k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
1

Description

Quicklook hasn't worked for me for years now, except for files actually the desktop, and I recently spent some time trying to track down why, as I finally got fed up with PowerToy's Peek's dismal performance,

I've traced the failure on my machine to the languages packs I've got installed (and I need) - they are English (US) main language, Russian, German, Chinese (Simplified) French Italian Spanish (International sort) Korean and Japanese.

I find that hitting the spacebar within an Explorer window immediately adds a space to the find searchbox in the window ie Windows seems to be capturing the spacebar input as a potential foreign language input before it gets to send the command needed by Quicklook, meaning Quicklook fails to work.

I've tried writing an AutoHotKey to wrest control, and give it to Quicklook, and that macro worked briefly, but now it doesn't work for some reason. I don't understand why it worked before I started loading it at startup. Here is the Autokey macro I used, maybe somebody could help with it and why that it doesn't work either

#IfWinActive ahk_class CabinetWClass

; When inside a File Explorer folder, intercept Space
$Space::
; Check if QuickLook is running in the background
Process, Exist, QuickLook.exe
if (ErrorLevel)
{
; Force send a raw Space input directly to the file list panel, bypassing the search bar hook
ControlSend, DirectUIHWND1, {Space}, ahk_class CabinetWClass
}
else
{
; If QuickLook isn't running, let the Space behave normally
Send, {Space}
}
return

#IfWinActive

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in Windows File Explorer with the listed non-Latin language packs and QuickLook running, then compare Space behavior with and without those packs. The AutoHotKey macro in the issue provides a reference for the affected input path. Done means Space opens QuickLook for files in Explorer while normal search-box behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.