AsciidocFX icon indicating copy to clipboard operation
AsciidocFX copied to clipboard

Preview is empty when a file is open

Open adrianmocan opened this issue 6 years ago • 6 comments

in version 1.6.9, when a file is open, the editor opens the file in tab and also contains a "new" tab. Although the requested file is selected, the preview is shown for the "new" tab as the preview is empty. One has to select the "new" tab then select the tab for its file again in order to see the file preview. An other way to see the preview for the file is to simply kill the "new" tab and then the preview will be shown for the right file.

adrianmocan avatar Mar 27 '19 20:03 adrianmocan

Can you share the steps to reproduce please? Can you also share a screenshot?

rahmanusta avatar Mar 27 '19 20:03 rahmanusta

on Windows 10

  1. install asciidocfx from asciidocfx.com ( https://github.com/asciidocfx/AsciidocFX/releases/download/v1.6.6/AsciidocFX_Windows.zip ) 2 when prompted upgrade to asciidocfx 1.6.9
  2. choose an asciidoc file in windows explorer and double click on it

what I expected: to get the file open in asciidocfx and in the preview panel the file rendered.

what I actually get: the file is opened for edit on the left, but on the right the preview is empty.

[image: image.png]

from what I could see the empty preview is because it renders the "new" tab. Once I switch between my file and the "new" everything works (each file is rendered when is in focus).

Best regards, Adrian

On Wed, 27 Mar 2019 at 22:52, Rahman Usta [email protected] wrote:

Can you share the steps to reproduce please? Can you also share a screenshot?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/asciidocfx/AsciidocFX/issues/414#issuecomment-477342907, or mute the thread https://github.com/notifications/unsubscribe-auth/ADpU-bbOv0PZQGsWXkxBkMZ_Y209HuxGks5va9ocgaJpZM4cOsWl .

adrianmocan avatar Mar 31 '19 19:03 adrianmocan

Can you please try v1.7.0 https://github.com/asciidocfx/AsciidocFX/releases/tag/v1.7.0 ?

rahmanusta avatar Jul 03 '19 08:07 rahmanusta

I also experienced this issue with 1.7.1, you have to switch between the *new tab and your document - it then renders correctly.

maventis avatar Sep 06 '19 09:09 maventis

The same with 1.7.2. Regards

tomdem29 avatar May 15 '20 13:05 tomdem29

Hi, could you please reinstall https://github.com/asciidocfx/AsciidocFX/releases/tag/v1.7.4 and check?

rahmanusta avatar May 01 '21 04:05 rahmanusta