6237 Commits

Author SHA1 Message Date
Mr. M
0eb1c7d419 fix: Fixed automatic twilight releases not working, b=(no-bug), c=workflows 2025-04-22 14:26:24 +02:00
mr. m
9824e18dbf Merge pull request #7761 from mbergo/fix-tab-switching-crash
Fix tab switching crash when creating new tabs (Issue #7716)
2025-04-22 14:24:20 +02:00
mr. m
b95306348d Merge pull request #7796 from cbackas/dev
Feature: Add checks for sound before auto toggling PiP
2025-04-22 14:24:08 +02:00
mr. m
de43cc6cd5 Merge pull request #7723 from zen-browser/update-ff-138
Update for firefox 138.0 beta 9
2025-04-22 14:23:45 +02:00
Mr. M
de435f8e7b fix: Fixed readme version for firefox, b=(no-bug), c=no-component 2025-04-22 14:20:30 +02:00
Mr. M
f2e006fde9 chore: Updated to firefox 138.0 RC builds, b=(no-bug), c=no-component 2025-04-22 14:20:08 +02:00
mr. m
5f7c3a41f1 Merge pull request #7771 from zen-browser/containerized-essentials
Containerized essentials
2025-04-22 14:11:46 +02:00
mr. m
3fbe8c0b6c Update build/ts/transform-ts.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
2025-04-22 14:11:39 +02:00
Mr. M
3933f77968 chore: Disable pref before testing, b=(no-bug), c=no-component 2025-04-22 14:11:01 +02:00
Mr. M
68fc8cd6ed chore: Containerized essentials should be ready for testing, b=(no-bug), c=tabs, workspaces 2025-04-22 14:10:50 +02:00
Mr. M
47fbae7e0d chore: Continued working on containerized essentials, b=(no-bug), c=tabs, workspaces 2025-04-22 00:33:15 +02:00
cbackas
82a4ffdc12 use browser.audioMuted cuz slowlife01 knows the api better than me 2025-04-21 11:40:21 -05:00
cbackas
6386f178d4 dont trigger PiP for tabs that are muted 2025-04-21 09:40:48 -05:00
Zac
102d226269 Merge branch 'zen-browser:dev' into dev 2025-04-21 08:40:44 -05:00
cbackas
b399247652 check if player is muted before auto opening PIP 2025-04-21 08:40:12 -05:00
Marcus Bergo
263db42602 Fix tab switching crash when creating new tabs (Issue #7716)
Problem:
The Zen browser was experiencing random crashes when switching tabs, particularly
when creating a new tab with Ctrl+T and typing a URL. The crash logs showed
"CompositorBridgeChild receives IPC close with reason=AbnormalShutdown" errors,
indicating issues with the graphics compositor during tab switching operations.
This was caused by race conditions in the tab switching code and lack of proper
error handling when dealing with browser elements that might be in an invalid state.

Solution:
Instead of just catching errors, we've implemented a more robust solution that addresses
the root causes of the race conditions in the tab switching code:

1. State Management System:
   - Added a queue-based system for tab operations to ensure they execute in sequence
   - Implemented debouncing to prevent rapid tab switching that could cause race conditions
   - Added state validation before operations to ensure browser elements are in a valid state

2. Asynchronous Operation Handling:
   - Used Promises and async/await for proper sequencing of operations
   - Added proper timing controls with small delays to ensure DOM is ready
   - Implemented a mutex-like approach to prevent concurrent workspace changes

3. Robust Tab State Validation:
   - Added comprehensive checks for tab validity before operations
   - Implemented proper cleanup of resources to prevent memory leaks
   - Added validation for browser window state to prevent operations on closed windows

4. Improved Error Recovery:
   - Added fallback mechanisms when operations fail
   - Implemented proper cleanup of state even when errors occur
   - Added more informative error messages for better debugging

These changes make the browser much more robust when handling tab switching operations,
preventing the crashes reported in issue #7716.
2025-04-21 01:59:47 -03:00
Mr. M
8136387a75 style: Formatted the project, b=(no-bug), c=scripts 2025-04-21 00:05:34 +02:00
mr. m
e65991aa03 Merge pull request #7777 from zen-browser/typescript-refactor
Typescript refactor
2025-04-21 00:05:15 +02:00
Mr. M
a7846a64d0 chore: Started adding typescript to zen, b=(no-bug), c=scripts, workspaces 2025-04-21 00:02:19 +02:00
Mr. M
5dfc6a663f chore: Continued working on containerized essentials, b=(no-bug), c=common, compact-mode, tabs, workspaces 2025-04-20 23:33:57 +02:00
mr. m
0c45a24f48 Merge pull request #7774 from UnownPlain/fix-empty-sections
Fix empty release notes sections
2025-04-20 19:38:43 +02:00
UnownPlain
762d5de441 Fix empty release notes sections 2025-04-20 17:32:31 +00:00
mr. m
5bfb55a27d Merge branch 'update-ff-138' into containerized-essentials
Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
2025-04-20 15:27:28 +02:00
Mr. M
87bb2f38db feat: Added fully containerized essentials, b=(no-bug), c=tabs, vendor, workspaces 2025-04-20 15:26:28 +02:00
mr. m
fb1575d875 fix: Fixed window controls not being accessible on fullscreen when element separation is 0, b=(no-bug), c=tabs 1.11.5b 2025-04-19 19:46:25 +02:00
mr. m
c153bef170 Merge branch 'dev' into update-ff-138
Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
2025-04-19 16:21:40 +02:00
Mr. M
2fcf6c80e9 chore: Completly migrated to firefox 138, b=(no-bug), c=tabs, common, folders, glance 2025-04-19 16:03:15 +02:00
Mr. M
2e6e71e3b6 chore: More migration for firefox 138.0, b=(no-bug), c=tabs, common, split-view 2025-04-19 14:07:51 +02:00
mr. m
004b946716 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-04-19 13:52:34 +02:00
mr. m
6400722712 fix: fixed urlbar being selected on workspace change, b=(closes #7741), c=workspaces 2025-04-19 13:52:25 +02:00
mr. m
d9ec28459e chore: Disabled Auto-Pip once we have propper settings UI for it, b=(no-bug), c=no-component 2025-04-19 13:48:00 +02:00
mr. m
407c1d24af Merge pull request #7740 from Cheese-Space/patch-1
remove --cask flag from mac install instructions as it isn't necessary
2025-04-19 13:14:30 +02:00
mr. m
de6d8d1153 fix: Windows applications being shifted half a pixel to the top, b=(no-bug), c=no-component 2025-04-19 12:57:42 +02:00
Cheese_space
3eb10fc05b removed --cask flag from mac install instructions as it isn't necessary
Signed-off-by: Cheese_space <99285740+Cheese-Space@users.noreply.github.com>
2025-04-19 12:17:10 +02:00
mr. m
1ab6f77f95 feat: Make PiP checkbox disable the entire feature, not just video controls, b=(no-bug), c=no-component 2025-04-19 10:40:19 +02:00
mr. m
c1b15b59db chore: Bump version and small fixes, b=(no-bug), c=tabs 2025-04-19 10:34:32 +02:00
mr. m
3dae5a6d47 fix: Fixed links on the README, b=(no-bug), c=no-component 2025-04-18 22:20:56 +02:00
Mr. M
ec3e2ab870 chore: More patch fixes for firefox beta, b=(no-bug), c=common 2025-04-18 20:43:44 +02:00
mr. m
a2810d65de Merge branch 'dev' into update-ff-138 2025-04-18 19:56:46 +02:00
Mr. M
1713c04834 chore: Started updating for firefox 138.0 beta 9, b=(no-bug), c=common 2025-04-18 19:54:40 +02:00
mr. m
dab2646054 fix: Crashes when opening the overflow menu multiple times on macos, b=(closes #7718), c=no-component 2025-04-18 19:13:14 +02:00
mr. m
03bc0d2f22 Merge branch 'dev' into download-animation 2025-04-18 10:08:31 +02:00
mr. m
ad0485d651 Fix workflow failure for windows
Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
1.11.4b
2025-04-18 00:30:34 +02:00
Gabriel
7764c4bdd7 Refactor download animation with improved code, animations and styles 2025-04-17 22:33:56 +02:00
mr. m
46bbbccdc9 fix: Window controls not expanding on split views and element separation on 0 also not expanding them, b=(closes #7694), c=tabs 2025-04-17 21:12:06 +02:00
mr. m
ee28417a4c fix: Enable Restore pinned tabs to their originally pinned URL on startup setting does not work, b=(bug #7453), c=tabs 2025-04-17 20:00:07 +02:00
mr. m
5332ab9cac Merge branch 'dev' into download-animation 2025-04-17 19:08:39 +02:00
mr. m
746ac1eec7 chore: Format before release, b=(no-bug), c=split-view 2025-04-17 18:51:26 +02:00
mr. m
13c763b0e8 Merge branch 'dev' into download-animation 2025-04-17 18:50:51 +02:00
mr. m
8b67c4fdd1 fix: Fixed recalculating split view on compact mode, b=(no-bug), c=split-view 2025-04-17 18:40:59 +02:00