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

How can I scroll the content in the preview window? Is it possible to scroll the content in the preview window? #786

Closed
bpan2020 opened this issue Oct 25, 2024 · 16 comments

Comments

@bpan2020
Copy link

How can I scroll the content in the preview window? Is it possible to scroll the content in the preview window?

@ccfs
Copy link

ccfs commented Oct 26, 2024

If "preview window" is the add-on:
20241026_094437

Mouse (method 1)

  1. Click the Preview window
  2. Scroll the wheel

Mouse (method 2)

  1. Middle-click the text box in the Preview window
  2. Move your mouse down and up

Keyboard

  1. Click the text box in the Preview window
  2. Press these keys:
    • PageDown
    • PageUp
    • Ctrl+End
    • Ctrl+Home

If "preview window" is the preview pane under Frame mode:
20241026_100401

Mouse (method 1)

  1. Move your mouse pointer on the pane
  2. Scroll the wheel

Mouse (method 2)

  1. Middle-click the pane
  2. Move your mouse down and up

Keyboard

  1. Click the pane
  2. Press these keys:
    • Down arrow
    • Up arrow
    • PageDown
    • PageUp
    • Ctrl+End
    • Ctrl+Home

If "preview window" is "Preview" add-on:
20241026_103123
It cannot be scrolled.

@bpan2020
Copy link
Author

Thanks. Looks I was using this mode "If "preview window" is "Preview" add-on". How can I switch to this mode:"If "preview window" is the preview pane under Frame mode:"

@ccfs
Copy link

ccfs commented Oct 27, 2024

Right-click the tab and choose "Show frames". Then click the toggle button if the preview pane does not show.
fm3

@bpan2020
Copy link
Author

Thanks. But how can I preview a '.log' text file in this preview window? It looks like 'show frames' is set per tab. Can we set it globally once and apply it to all tabs?

@ccfs
Copy link

ccfs commented Oct 27, 2024

Supported file types

This preview pane is a Windows Explorer feature. To add a supported file type, you can use the Registry Editor or a File Explorer add-ons utility.

reg

Show frames

To turn it on for all tabs:

  1. Switch to a tab which has "Show frames" OFF.
  2. TICK "Show frames" and "Default" on "Options > List" page and press the "OK" button.

tab
sf

Preview pane visibility

When you starts TE, opens a new tab, or turns "Show frames" on, whether the pane is visible or not depends on last use. To have a better control of this status, you can use "Frame plus" add-on. It is not an official add-on but you can download it here.

@bpan2020
Copy link
Author

Thanks. It seems that I still cannot preview ".log" files on one of my computers. For this computer, I switched to using the "preview window" add-on. However, the photo size displayed in this preview window is very small (the one on the left side). The one on the right side is displayed in the "preview" add-on window.
图片

@ccfs
Copy link

ccfs commented Oct 28, 2024

I do not quite understand. It seems that the file is NOT a photo but is a HTML file.

@bpan2020
Copy link
Author

Sorry. It's a '.svg' file.

@ccfs
Copy link

ccfs commented Oct 28, 2024

Please zip and post the svg file for analysis.

@bpan2020
Copy link
Author

Sure. Here it is.
demo.zip

@ccfs
Copy link

ccfs commented Oct 29, 2024

"Preview Window" add-on has some problems about SVG:

  • the graphics may not fully occupy available window space (your case)
  • scroll bars may show up unnecessarily

I have tried changing the add-on scripts but not succcessful so far. So we have to live with it as is at the moment.

@bpan2020
Copy link
Author

OK, thanks. I am currently using the 'Preview' add-on for SVG files and the 'Preview Window' add-on for other files. Should we file an issue for this?

@bpan2020
Copy link
Author

Is there a quick way to open and close the preview window of the 'preview' add-on? For example, in the 'preview window' add-on, there is a button in the toolbar that allows this functionality.

@ccfs
Copy link

ccfs commented Oct 31, 2024

You can use "Add-on switcher" add-on to switch on/off another add-on. To toggle "Preview" add-on using a Tool bar button:
20241031_163342

@ccfs
Copy link

ccfs commented Oct 31, 2024

I have solved the small SVG preview problem. Please install this patch.
I do not have a solution to the scroll bar problem. So it will remain at the moment.

@bpan2020
Copy link
Author

Great! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants