Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to find Quicklook.config file #744

Closed
prakharb5 opened this issue Sep 23, 2020 · 17 comments
Closed

Not able to find Quicklook.config file #744

prakharb5 opened this issue Sep 23, 2020 · 17 comments
Labels

Comments

@prakharb5
Copy link

prakharb5 commented Sep 23, 2020

Describe the bug
I wanted to remove the tray icon of QuickLook app. I went to the said file location (UWP one) but there was no pooi.moe folder. How do I hide the icon now?

Desktop (please complete the following information):

  • OS Version: [Windows 10 20H2]
  • QuickLook Version: [3.6.10 from Microsoft Store]
@xupefei
Copy link
Member

xupefei commented Sep 23, 2020

Can you try to run and quit QuickLook before looking for this folder?

@prakharb5
Copy link
Author

I have done this many times. I have also tried reinstalling. Nothing works, sadly.

@xupefei
Copy link
Member

xupefei commented Sep 23, 2020

Try this:

  1. Open a preview on any file.
  2. Click the "keep on top" button in the titlebar.
  3. Close the preview.
  4. Quit QuickLook.
  5. Run QuickLook again and open a preview.
  6. Is the "on-top" status maintained?

@xupefei
Copy link
Member

xupefei commented Sep 23, 2020

Btw, can you also check if %APPDATA%\pooi.moe\QuickLook\ exists?

@prakharb5
Copy link
Author

Btw, can you also check if %APPDATA%\pooi.moe\QuickLook\ exists?

Yup, this exists.

image

These files are there.


Try this:

  1. Open a preview on any file.
  2. Click the "keep on top" button in the titlebar.
  3. Close the preview.
  4. Quit QuickLook.
  5. Run QuickLook again and open a preview.
  6. Is the "on-top" status maintained?

This works properly too. Status is maintained.

@xupefei
Copy link
Member

xupefei commented Sep 23, 2020

Can you quit QuickLook and delete all files in %APPDATA%\pooi.moe then run QL again?

@prakharb5
Copy link
Author

prakharb5 commented Sep 24, 2020

Deleted successfully and ran QL again. Now what should I do?

@prakharb5
Copy link
Author

I hunted down in the previous location and have found the file. But the file is almost empty.

QuickLook.txt
(converted .config to.txt by changing extension)

@xupefei
Copy link
Member

xupefei commented Sep 24, 2020

Now quit and re-run QuickLook. You should find the ShowTrayIcon key in this config.

@prakharb5
Copy link
Author

Sorry to say, but I already checked and it is not there. I checked just now also.

@xupefei
Copy link
Member

xupefei commented Sep 24, 2020

I'm confused. Let's make it clear: let

  • A: %LOCALAPPDATA%\Packages\21090PaddyXu.QuickLook_egxr34yet59cg\LocalCache\Roaming\pooi.moe\QuickLook\
  • B: %APPDATA%\pooi.moe\QuickLook\

Now, follow these steps:

  1. Right-click on the tray icon and make sure you are running the Store version ("(UWP)" after the version number).
  2. Quit QuickLook.
  3. Navigate to both paths A and B. Delete any files you found in both paths.
  4. Run QuickLook and repeat Steps 1 and 2.
  5. Navigate to both paths A and B. Which of A or B contains some new files?

@prakharb5
Copy link
Author

Ok, I did all the steps. Posting results for some.

step3) I go to both locations. No files in B (pooi.moe folder does not exist) , some files in A. I delete both.
step5) I looked for files. No files in B (pooi.moe folder does not exist), one file in A (Quicklook.config)

@rabelux
Copy link
Member

rabelux commented Sep 24, 2020

Win 7 user here and I would like to confirm that my text file looks like this:

<?xml version="1.0" encoding="utf-8"?>
<Settings>
  <LastUpdateTicks>637360351174525275</LastUpdateTicks>
  <Topmost>True</Topmost>
</Settings>

But if I add <ShowTrayIcon>True</ShowTrayIcon> the setting works and the icon is hidden.
@xupefei So I guess either fix the code that there actually is this the expected line with true, or leave it as it is and adapt the explanation in the wiki

@prakharb5
Copy link
Author

@rabelux Thanks for the help. I need to insert this just before tag, right?

@rabelux
Copy link
Member

rabelux commented Sep 24, 2020

<?xml version="1.0" encoding="utf-8"?>
<Settings>
  <LastUpdateTicks>637360351174525275</LastUpdateTicks>
  <Topmost>True</Topmost>
  <ShowTrayIcon>True</ShowTrayIcon>
</Settings>

@xupefei
Copy link
Member

xupefei commented Sep 24, 2020

So I guess either fix the code that there actually is this the expected line with true, or leave it as it is and adapt the explanation in the wiki

That's strange. The ShowTrayIcon should appear automatically when QuickLook has been ran and exited once. I'll check what is going wrong here.
@Cyberdroid1 please let me know whether @rabelux's reply solved your problem.

@rabelux rabelux added the in progress The dev is on it label Sep 24, 2020
@prakharb5
Copy link
Author

Yes, my problem is fixed now. The code part was missing.

@rabelux rabelux added fixed and removed in progress The dev is on it labels Sep 27, 2020
Jethro-Alter added a commit to Jethro-Alter/QuickLook that referenced this issue Dec 21, 2020
* Update Translations.config

* Update Translations.config

* Update Translations.config

* Create Privacy.md

* Rename Privacy.md to PRIVACY.md

* Update PRIVACY.md

* Update PRIVACY.md

* Fix QL-Win#579: search box changed in Windows 10 1909

* Fix QL-Win#579: also deal with non-English UIs

* don't bring existing window to the front

* Revert "Fix QL-Win#644: still use focusable window on Windows 7 and 8"

This reverts commit 452574e.

Revert "Fix QL-Win#644 step 1: correctly bring window back to top when clicked"

This reverts commit af608dc.

* Fix QL-Win#401: use the native image provider to render static GIFs

* Update Translations.config

Hungarian language added.

* Fix QL-Win#669: convert image to sRGB only when the original ColorSpace is RGB, sRGB, or scRGB

* Upgrade Magick.NET packages

* Fix QL-Win#669 again: stupid syntax mistake :(

* Bulk update NuGet packages

* Update Translations.config

Typo correction on line 61 and 69. Fixing slight translation mistakes and some words also replaced with more commonly used words.

* Support File Path longer than 260 (tweak needed: https://www.tenforums.com/tutorials/51704-enable-disable-win32-long-paths-windows-10-a.html)

* Add EXR to ImageViewer

* Add MXF to VideoViewer

* Decrease update checking frequency to monthly

* Fix QL-Win#715: add 1s timeout before any previewing request

* Fix QL-Win#711: adjust UI before loading any PDF page

* Fix QL-Win#729: add a config flag to hide the tray icon

* Fix QL-Win#731: use app folder for saving data in the portable mode

* Fix QL-Win#733: detect Markdown encoding

* Fix QL-Win#734: add AVIF format

* Update .appveyor.yml

* added german translation for newly added string

* fix a typo

* Fix QL-Win#744: Components are not correctly disposed upon exit

* Fix QL-Win#477: Add JFIF files

* Update bug_report.md

* typo

* Fix QL-Win#420, QL-Win#452, QL-Win#757: windows positioning for monitors with different DPIs

* Update Common to fix plugin resize

* Fix QL-Win#759: fix thumbnail orientation for some camera models

* Fix QL-Win#760, support CR3

* removed dup of ".asf" and added ".mka" for testing

Co-authored-by: Piteriuz <piteriuz@outlook.com>
Co-authored-by: Pengfei Xu <xupaddy@gmail.com>
Co-authored-by: Bobcruise <bobcruise07@gmail.com>
Co-authored-by: davinhanif <39960696+davinhanif@users.noreply.github.com>
Co-authored-by: Alexander Raab <alexander.raab1@gmx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants