[Problem/Bug]: Local PDF display black/white page 50% of the time in WebView2.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Ambito
- desktop
Direzione di ricerca
Inizia riproducendo la navigazione dei PDF locali nella configurazione WinUI3/WinAppSDK WebView2 su Windows 11, utilizzando la versione 1.0.4191.47 del runtime e dell'SDK. Confronta la prima navigazione con la seconda navigazione da navigationCompleted e verifica il comportamento nella versione corrispondente di Edge. Il lavoro è completato quando i PDF locali vengono visualizzati in modo affidabile senza richiedere una navigazione duplicata o un ritardo arbitrario.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened?
I have the same code for the past 5 years and it has always worked, but in the past month it stopped working reliably. I have the latest stable version of the sdk : 1.0.4191.47
The pdf bar at the top does not even display. And I get no errors and no events.
So I load a local pdf and navigate to it after the webview2 initialization.
We get a black or white (depending on your windows dark mode?) and nothing happens.
I would say that it works and does not works half of the time. Flip a coin.
Waiting for 5 seconds before navigating to the url does not work either.
But if I navigate then 5 seconds later navigate again it does work all the time.
Reloading the page does not work.
My solution was to navigate normally, but inside the event navigationCompleted, I navigate again a second time to that same URL.
That works, but since Windows version of our app is 200x slower than our Apple and Android version because Windows and MS SDKs are slower and unstable (need to delay a lot of stuff just so ms stuff don't c-rash the app), it won't be appreciated by our customers that have not yet transitioned to better modern OS.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
1.0.4191.47
SDK Version
1.0.4191.47
Framework
WinUI3/WinAppSDK
Operating System
Windows 11
OS Version
All of them
Repro steps
See above
Repros in Edge Browser
Yes, issue can be reproduced in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
- Lingua principale
- PowerShell
- Stelle
- 524
- Fork
- 67
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MicrosoftEdge/WebView2Feedback
-
anhbaAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
MicrosoftEdge/WebView2Feedback#5731 ·
-
[Problem/Bug]: Runtime 153+: UI thread blocks ~33 s on every focus change when host app is the Windows shell (no Explorer)Forse già presa @ambikakunnath l’ha presa 2 giorni fa. Apertabug regression
MicrosoftEdge/WebView2Feedback#5730 · 1 commento · 1 assegnatario ·
-
[Problem/Bug]: PDF.js rendering regression in WebView2 Runtime 153.x causes vector point primitives to disappearForse già presa @ambikakunnath l’ha presa 4 giorni fa. Apertabug regression
MicrosoftEdge/WebView2Feedback#5729 · 2 commenti · 1 assegnatario ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
MicrosoftEdge/WebView2Feedback#5728 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
MicrosoftEdge/WebView2Feedback#5727 ·
Tutte le issue di MicrosoftEdge/WebView2Feedback
Issue simili
-
clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
steipete/RepoBar#140 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
area:dictation bug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
uttrflow/uttrflow-swift#2551 ·
I maintainer di solito rispondono entro 1 giorno
-
area: desktop platform: macos priority: p3 status: ready type: enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
use-agent-os/agent-os#3484 ·
I maintainer di solito rispondono entro 2 giorni
-
bug external devices GUI maintainer-review
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
aethersdr/AetherSDR#5997 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
asleep-ai/listener-ai#211 ·
I maintainer di solito rispondono entro 1 giorno