Commit Graph

3885 Commits

Author SHA1 Message Date
Mr. M
53de112eb8 chore: Added better testing preferences and cleaned up a bit, b=(no-bug), c=common, tests, workspaces 2025-04-26 15:02:59 +02:00
Mr. M
6662e0fa09 chore: format project, b=(no-bug), c=split-view 2025-04-26 13:18:42 +02:00
Mr. M
e90f188c63 fix: Fixed alert boxes cutoff half way on split view, b=(closes #7564), c=split-view 2025-04-26 13:16:42 +02:00
Mr. M
e039ee1692 fix: Fixed moving split view tabs into other workspaces not working, b=(closes #7840), c=split-view, welcome, workspaces 2025-04-26 12:56:36 +02:00
Mr. M
68fc9fb635 fix: Weird tab sizing when switching workspaces on twilight, b=(no-bug), c=workspaces 2025-04-26 12:24:19 +02:00
Pdzly
940a2ebc3f Merge branch 'main' into feature/import-export-mods 2025-04-25 20:11:52 +02:00
Pdzly
7f3d9fd9e7 Remove redundant blank line in CSS file
Eliminated an unnecessary blank line for cleaner and more consistent formatting. This improves the readability and maintains coding style standards.
2025-04-25 20:08:29 +02:00
Pdzly
5f552bb749 Fix theme export behavior by cleaning up DOM elements
Ensure the temporary link element is removed after triggering the export action to prevent cluttering the DOM. Additionally, display a success message upon successful theme export for better user feedback.
2025-04-25 18:51:44 +02:00
Pdzly
a233c6be8c Add theme import and export functionality
Implemented theme import and export options in the Zen Theme Marketplace. Added buttons, event handlers, and logic for users to save themes to a file or load them from an external JSON file. Included success and error states for both actions.
2025-04-25 18:47:05 +02:00
Pdzly
0f3120e831 Fix typo in comment within ZenThemeMarketplaceChild module
Corrected a misspelling of "called" in a comment for better clarity and readability. No functional changes were made, as this was a non-code text adjustment.
2025-04-25 18:21:07 +02:00
mr. m
9c93a21421 fix: Fixed workspaces not switching when they need to if the target tab is an essential, b=(no-bug), c=workspaces 2025-04-25 15:33:49 +02:00
mr. m
8201b175bb Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-04-25 15:21:32 +02:00
mr. m
78ee43347e fix: Tab siwtcher crashing zen if no active tabs exist, b=(closes #7865), c=tabs, workspaces 2025-04-25 15:21:27 +02:00
mr. m
7b23e4de11 Merge pull request #7862 from Slowlife01/mute-tab
fix: Fixed media controller mute not updating tab mute state
2025-04-25 10:40:57 +02:00
Slowlife01
7bb113d1f0 fix: Fixed media controller mute not updating tab mute state, b=(closes #7798), c=media 2025-04-25 14:39:50 +07:00
Slowlife01
db5d318c74 fix: Fixed workspace context menu not working, b=(no-bug), c=workspaces 2025-04-25 14:27:00 +07:00
Aaron
390afc7e63 firefox -> Firefox 2025-04-24 20:00:35 -07:00
Mr. M
8fcf251916 feat: Improved tab switching for containerizedd essentials, b=(no-bug), c=common, workspaces 2025-04-25 00:17:54 +02:00
Mr. M
cad9a299c3 fix: Fixed tabs opening on the pinned tabs container when opening a background tab from glance, b=(closes #7850), c=tabs, workspaces 2025-04-24 23:53:20 +02:00
Gabriel
8386b1b3e8 Improved download animation with better animation and better code, added custom prefs 2025-04-24 21:49:21 +02:00
rooki
b490d91572 style: Add homepage button to theme marketplace with click functionality 2025-04-24 14:27:21 +02:00
rooki
48bf0504e8 style: Add pointer cursor to zen-preferences for better UX 2025-04-24 14:18:05 +02:00
mr. m
af6fd8796d fix: Fixed sandboxing build error die to SDK upgrade, b=(no-bug), c=no-component 2025-04-24 13:34:13 +02:00
mr. m
b8f54de530 fix: Macos builds having the wrong SDK, b=(no-bug), c=workflows 2025-04-24 01:29:01 +02:00
mr. m
8f86e40b5d fix: Firefox 139 patch import for macos SDK, b=(no-bug), c=no-component 2025-04-24 00:50:42 +02:00
mr. m
aced6e170f fix: Fixed macos builds having a wrong SDK version, b=(no-bug), c=no-component 2025-04-24 00:28:38 +02:00
Mr. M
26e1a1c58d fix: Fixed macos SDK having an invalid version and download URL, b=(no-bug), c=tabs, workspaces 2025-04-23 23:44:45 +02:00
Mr. M
4b1ff82756 fix: More common twilight issues, b=(no-bug), c=workspaces 2025-04-23 20:51:07 +02:00
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