Commit Graph

2701 Commits

Author SHA1 Message Date
lolipodass
7f1a5eea20 fix missed }
Signed-off-by: lolipodass <56706038+lolipodass@users.noreply.github.com>
2025-04-23 14:55:00 +03:00
lolipodass
b24f8e27fa add horizontal bar simular to vertical in split view
Signed-off-by: lolipodass <56706038+lolipodass@users.noreply.github.com>
2025-04-23 14:37:38 +03:00
mr. m
aae3ed0872 fix: more small fixes after twilight feedback, b=(no-bug), c=tabs, common, compact-mode, workspaces 2025-04-23 13:23:10 +02:00
mr. m
6de445eaa1 chore: [security]: Finish up wrapping event listeners and other small fixes, b=(no-bug), c=configs, common, compact-mode, split-view, tabs, workspaces 2025-04-23 00:30:56 +02:00
mr. m
1fa8d217f9 fix: Fixed zen installer patch importing, b=(no-bug), c=no-component 2025-04-22 15:11:31 +02:00
mr. m
09ec1ad864 chore: Updated to ff 138.0 and recalculated patches, b=(no-bug), c=tabs, media 2025-04-22 15:08:34 +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
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
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
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
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 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
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
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
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
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
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
746ac1eec7 chore: Format before release, b=(no-bug), c=split-view 2025-04-17 18:51:26 +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
mr. m
c3e658d46a fix: Split view calculating the wrong side of split view, b=(no-bug), c=split-view 2025-04-17 18:26:04 +02:00
mr. m
cf879a5c23 Update zen-compact-mode.css
Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
2025-04-17 17:05:27 +02:00
sporocyst
4aa3e5b34d Opacity 0 when Compact Fullscreen
Signed-off-by: sporocyst <sporocyst.tw@gmail.com>
2025-04-17 22:18:43 +08:00
mr. m
d695ddb91a Revert "feat: improve tab switching with trackpad" 2025-04-17 04:45:17 -07:00
Mathieu TUDISCO
dfe8abd496 feat: improve tab switching with trackpad 2025-04-17 12:42:25 +02:00
mr. m
61b384ee56 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-04-17 11:13:31 +02:00
mr. m
d71a890430 fix: Fixed performance issue when closing multiple tabs, b=(closes #7507), c=common 2025-04-17 11:13:03 +02:00
mr. m
ce6074530f Merge branch 'dev' into dev 2025-04-17 11:00:18 +02:00
Mathieu TUDISCO
e20228153c fix: closes #7274 - Fixed mouses simulating swipes with Forward and Back buttons 2025-04-17 10:43:08 +02:00
mr. m
e431170435 fix: Split views not selected still having the pending attribute, b=(no-bug), c=split-view, tabs 2025-04-17 00:36:43 +02:00
mr. m
c671d1e389 fix: Revert export from 31a5e70b26 (diff-0dad6ae9e720c6b380d48f7e19654910c30256bacc25567e1319a927bace7e5f), b=(no-bug), c=no-component 2025-04-16 19:51:48 +02:00
mr. m
31a5e70b26 chore: Re-export all patches, b=(no-bug), c=no-component 2025-04-16 17:05:46 +02:00