Tab key and Rename (F2) with PDF preview open issue with losing rename field focus

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Tab key and Rename (F2) with PDF preview open issue with losing rename field focus

Post by PlorerXY6 »

With F2 in File Explorer, using any PDF previewer I have in preview pane, I can press Tab/Ctrl Tab to quickly rename items serially. In File Explorer it auto selects the name of the next item in rename field, and excludes the extension. Focus isn't loss.

However in XYPlorer, after I press F2 then rename then Tab to rename next item, the PDF previewer seems to steal the focus from the next item when I press tab - it's active for a sec, but the previewer seems to steal focus then give focus back to the list....but without my rename field staying active! So to resolve, if the previewer takes focus, can XYPlorer be set to detect if the rename field is active and if so, maybe have it just auto press F2 again? I can kind of mimic this by pressing F2 a few times as the preview pane loads...

Have tested with FoxIt and PDF Xchange PDF previewers and have above issue with all.

Also how do I get it to select the next file name minus extension rather than end of file when I press tab after pressing F2?

admin
Site Admin
Posts: 66542
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tab key and Rename (F2) with PDF preview open issue with losing rename field focus

Post by admin »

I don't see such focus stealing here with PDF-XChange PDF. However, you can try this tweak:

Code: Select all

    + Document Preview: Added tweak to customize the Focus Steal Fix.
        PreviewDocsFocusStealFixExt=msg
      By factory default (and for upgraders) it's set to "msg" (quotes are optional), but 
      you now can set it, for example, to "msg.pdf" if your PDF preview handler steals the 
      focus as well, or to "" if you don't need the fix.
Select the next file name minus extension... that's a bug. Fix comes.

PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Re: Tab key and Rename (F2) with PDF preview open issue with losing rename field focus

Post by PlorerXY6 »

admin wrote: 11 Nov 2023 08:58 I don't see such focus stealing here with PDF-XChange PDF. However, you can try this tweak:

Code: Select all

    + Document Preview: Added tweak to customize the Focus Steal Fix.
        PreviewDocsFocusStealFixExt=msg
      By factory default (and for upgraders) it's set to "msg" (quotes are optional), but 
      you now can set it, for example, to "msg.pdf" if your PDF preview handler steals the 
      focus as well, or to "" if you don't need the fix.
Select the next file name minus extension... that's a bug. Fix comes.
I think the focus issue goes away when I uncheck "Use 64-bit preview handlers for preview".
However I want that on for the Winword/MS Word previewer...to allow it load in background and prevent the UI freeze otherwise. However then I guess I get this undesirable PDF preview behaviour.
Can you maybe add a tweak that allows us to choose to use the 64 bit preview handler for MS Word files only so it loads in background? Maybe Excel/Powerpoint too.

admin
Site Admin
Posts: 66542
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tab key and Rename (F2) with PDF preview open issue with losing rename field focus

Post by admin »

That's already possible with User-Defined Preview Handlers (Configuration | Preview | Previewed Formats | Categories).
To see the attached files, you need to log into the forum.

PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Re: Tab key and Rename (F2) with PDF preview open issue with losing rename field focus

Post by PlorerXY6 »

admin wrote: 14 Nov 2023 08:31 That's already possible with User-Defined Preview Handlers (Configuration | Preview | Previewed Formats | Categories).
Thanks did docx>{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}>64 in that Previewed Formats User Defined section and it did what I need, everything else stays as 32 bit and no focus issue

PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Re: Tab key and Rename (F2) with PDF preview open issue with losing rename field focus

Post by PlorerXY6 »

PlorerXY6 wrote: 15 Nov 2023 20:38
admin wrote: 14 Nov 2023 08:31 That's already possible with User-Defined Preview Handlers (Configuration | Preview | Previewed Formats | Categories).
Thanks did docx>{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}>64 in that Previewed Formats User Defined section and it did what I need, everything else stays as 32 bit and no focus issue
I have had to change some settings as better to fix some preview pane non response issues:

Previewed Formats - user defined:
pdf>{1B96FAD8-1C10-416E-8027-6EFF94045F6F}>32
[use FoxIt, force 32 bit to stop the window flickering]

Shell Integration:
-Use 64 bit preview handlers for preview - checkmark ON

So far is better when transitioning between PDF/docx previews.

Post Reply