quasarframework / quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time
https://quasar.dev
MIT License
25.73k stars 3.49k forks source link

Quasar Bex Extension open pop with long delay #16168

Open NaderIkladious opened 1 year ago

NaderIkladious commented 1 year ago

What happened?

On a fresh quasar project when I open the popup it takes a long time to open quasar

What did you expect to happen?

When opening the extension it should open instantly as most extensions

Reproduction URL

https://stackblitz.com/edit/quasarframework-ykg5mh

How to reproduce?

  1. Create new Quasar project
  2. Run quasar build -m bex
  3. Load unpacked extension in browser
  4. Open popup

You will see it will take a long time to open and it shows blank screen at the begining

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

BEX Mode

Platforms/Browsers

Firefox, Chrome, Microsoft Edge

Quasar info output

perating System - Darwin(22.3.0) - darwin/arm64
NodeJs - 18.14.1

Global packages
  NPM - 9.3.1
  yarn - 1.22.19
  @quasar/cli - 2.0.0
  @quasar/icongenie - 2.5.4
  cordova - Not installed

Important local packages
  quasar - 2.12.4 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 1.4.3 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.16.5 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.3.4 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.2.4
  pinia - Not installed
  vuex - Not installed
  vite - 2.9.16 -- Native-ESM powered web dev build tool
  eslint - 8.46.0 -- An AST-based pattern checker for JavaScript.
  electron - Not installed
  electron-packager - Not installed
  electron-builder - Not installed
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

Quasar App Extensions
  *None installed*

Networking
  Host - Nader-Ikladious---MacBook-Pro.local
  en0 - 192.168.1.232
  utun3 - 10.4.0.27

Relevant log output

No response

Additional context

If there is a way to fix this with additional configuration, optimization please let me know

Thanks 🙏

hazaveh commented 1 year ago

Experiencing the same. Absolutely annoying

richterdennis commented 4 months ago

I found a dirty fix for this: https://github.com/quasarframework/quasar/discussions/15447#discussioncomment-9227744

yusufkandemir commented 2 weeks ago

This is actually kind of expected as specified in the code. Also see the comment linked above: https://github.com/quasarframework/quasar/discussions/15447#discussioncomment-9227744

If anyone wants to replace the timeout with a ping pattern, that would be great. We would gladly accept such a contribution. Thanks!