Freeze

Dit forum is bedoeld voor vragen met betrekking tot WYSIWYG Web Builder.
Post Reply
luke
 
 
Posts: 4
Joined: Sat Aug 29, 2026 9:26 pm

Freeze

Post by luke »

Als ik vanuit een dialoog window een print do, ga ik normaal naar het printsysteem.
Maar daarna freezed mmijn scherm en moet ik opnieuw laden.
hoe te voorkomen?
User avatar
Pablo
 
Posts: 25016
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Freeze

Post by Pablo »

Wat bedoel je precies met 'een print do'?
Welke optie(s) in de software gebruik je en in welke volgorde?
Zou je iets specieker kunnen zijn?
luke
 
 
Posts: 4
Joined: Sat Aug 29, 2026 9:26 pm

Re: Freeze

Post by luke »

typo, een print "doe" moet dat zijn.
ik maak een button in een dialoogvenster, met onclick - print element - target.
de windows printservice vangt het op en het print ook. tot zover is alles goed.
Maar na het printen kan ik alleen scrollen, geen toetsen gebruiken. en moet ik een reload doen.

testserver https://schaak.limburg.ws/Hasselt.html, het dialoogvenster hasselt 5 heeft een print button.
User avatar
Pablo
 
Posts: 25016
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Freeze

Post by Pablo »

Printen is systeem functionaliteit, dit wordt door de browser gedaan. Ik denk niet dat WYSIWYG Web Builder hier direct invloed op heeft.
User avatar
AliGW
 
 
Posts: 834
Joined: Thu Dec 19, 2024 3:41 pm

Re: Freeze

Post by AliGW »

I tested this and cannot reproduce the problem. I am using the Firefox browser. Even after closing the print dialog, the website still scrolls with scrollbars and arrow keys.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
User avatar
BaconFries
 
 
Posts: 6395
Joined: Thu Aug 16, 2007 7:32 pm

Re: Freeze

Post by BaconFries »

Your issue which is not related to the software itself but is a "focus" issue that gets trapped inside the dialog but still allows scrolling but can block keyboard events.
You can try to fix this by using some javascript below by inserting in Page HTML Between the <head></head> tags* Note you will need to replace #yourButton with the button ID you have used in the dialog.

Code: Select all

<script>
window.addEventListener('afterprint', () => {
    const btn = document.querySelector('#yourButton');
    if (btn) btn.focus();
});
</script>
luke
 
 
Posts: 4
Joined: Sat Aug 29, 2026 9:26 pm

Re: Freeze

Post by luke »

Close,
I added a button "printme" on the dialog form 'Hasselt 5'.
It works, but only for that button - not for the form.
Would it be possible to get the ID from te buttons inside a dialog form? I did not find that one.
maybe that way the form get the attention.

https://schaak.limburg.ws/Hasselt.html
BaconFries wrote: Fri Oct 30, 2026 10:33 am Your issue which is not related to the software itself but is a "focus" issue that gets trapped inside the dialog but still allows scrolling but can block keyboard events.
You can try to fix this by using some javascript below by inserting in Page HTML Between the <head></head> tags* Note you will need to replace #yourButton with the button ID you have used in the dialog.

Code: Select all

<script>
window.addEventListener('afterprint', () => {
    const btn = document.querySelector('#yourButton');
    if (btn) btn.focus();
});
</script>
Post Reply