Skip to content

Bug Report: Preview Mode Constraint #1804

@OneAmaro

Description

@OneAmaro

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Description
When "Should use Current File For Preview" is enabled, the app forces an in-app preview regardless of the "Preview mode" being set to "browser." This occurs even when the active file is index.html.

​Steps to Reproduce

  1. ​Open index.html in the editor.
  2. ​Navigate to Settings > Preview Settings.
  3. ​Configure the following:
  4. ​In-app browser caching: Disabled
  5. ​Preview mode: Browser
  6. ​Should use Current File For Preview: Enabled
  7. ​Launch the preview.

​Expected Result
The preview should open in the external default browser.

​Actual Result
The preview opens in the in-app browser.

​Logic Conflict
The setting for determining the file path appears to be overriding the setting for the display target.

Environment

Environment
​App: Acode
​File Name: index.html
​Port: 8158
​Host: localhost

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

Acode.log

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions