Release Vulpes OS 2.7 Preview 25 for Desktop, Android and Pixel 3a

This commit is contained in:
OverSu 2026-11-28 12:20:19 +01:00
commit 3a1fba4efe

View file

@ -53,7 +53,10 @@ export const Views = {
Services.ppmm.sharedData.flush();
},
hideAll() {
for (const entry of this.entries.values()) entry.browser.style.visibility='hidden';
for (const entry of this.entries.values()) {
entry.browser.style.visibility = 'hidden';
entry.browser.docShellIsActive = false;
}
},
async layout(entry) {
const geometry=entry.geometry;
@ -81,6 +84,8 @@ export const Views = {
Object.assign(entry.browser.style,{left:(left-x)+'px',top:(top-y)+'px',
width:Math.max(0,right-left)+'px',height:Math.max(0,bottom-top)+'px',
visibility:visible && right>left && bottom>top?'visible':'hidden'});
const active = entry.browser.style.visibility === 'visible';
if (entry.browser.docShellIsActive !== active) entry.browser.docShellIsActive = active;
// Remote Wayland surfaces need the same layout flush as the Gaia browser.
entry.browser.getBoundingClientRect();
entry.browser.frameLoader?.requestUpdatePosition?.();
@ -164,6 +169,7 @@ export const Views = {
browser.style.cssText =
'display:block;position:absolute;background:white;visibility:hidden';
shell.document.getElementById('screen').append(browser);
browser.suspendMediaWhenInactive = true;
if (!Services.ppmm.sharedData.get('vulpes:native-touch')) {
browser.browsingContext.inRDMPane = true;
browser.browsingContext.setRDMPaneMaxTouchPoints(1);