1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 10:39:59 +02:00
Commit graph

41 commits

Author SHA1 Message Date
Mr. M
3724f2a759
feat: Added library, b=(no-bug), c=common, tabs, workspaces 2025-05-24 17:20:50 +02:00
mr. m
e61963454c
fix: Fixed pressing arrow scroll canceling tab rename, b=(closes #8475), c=common 2025-05-21 09:08:01 +02:00
Mr. M
d3ec41d73f
fix: Fixed an issue with top toolbar not able to be hovered, b=(no-bug), c=common, compact-mode, tabs, workspaces 2025-05-20 19:02:44 +02:00
Mr. M
e4de07d773
feat: Dont trim the urlbar when it's open, b=(no-bug), c=common 2025-05-19 19:37:43 +02:00
Mr. M
90b0849308
style: Small style changes before release, b=(no-bug), c=common, compact-mode, workspaces 2025-05-19 00:18:10 +02:00
Mr. M
148a5eebc2
fix: Improved workspace icons generation, b=(no-bug), c=common, mods, workspaces 2025-05-18 12:29:26 +02:00
Mr. M
297a95986c
fix: Fixed scrolling issues with workspaces, b=(no-bug), c=tabs, common, compact-mode, media, workspaces 2025-05-18 10:53:14 +02:00
Mr. M
22d04ad729
chore: Changed ZenWorkspaces to gZenWorkspaces, b=(no-bug), c=tabs, common, folders, glance, media, tests, welcome, workspaces 2025-05-16 01:17:11 +02:00
Mr. M
0ded78eb06
fix: Fixed all tabs button appearing on the sidebar, b=(no-bug), c=common, tabs 2025-05-14 16:10:28 +02:00
mr. m
c2d484a725
fix: Fixed a bunch of small styling issues, b=(no-bug), c=common, compact-mode 2025-05-14 15:49:44 +02:00
mr. m
f8a893e6de
fix: Small fixes for toast notifications, b=(no-bug), c=common 2025-05-13 19:43:00 +02:00
mr. m
3566289cb5
feat: Completed API for cocoa, b=(no-bug), c=common 2025-05-13 01:25:55 +02:00
Mr. M
b4c7a64631
feat: Added a share button to copy url, b=(no-bug), c=common 2025-05-12 20:36:46 +02:00
Mr. M
3d8fc203f9
feat: Lower the time for a toast to exist, b=(no-bug), c=common 2025-05-10 21:23:27 +02:00
Mr. M
7b99f227cd
chore: Format with only a maximum of 10 columns, b=(no-bug), c=workflows, common, compact-mode, folders, glance, kbs, media, mods, split-view, tabs, tests, workspaces, welcome 2025-05-10 21:22:16 +02:00
Mr. M
64293af6f7
fix: Fixed greyed out part of URL sometimes turns back to white incosistently, b=(closes #7315), c=common 2025-05-10 01:13:15 +02:00
mr. m
1fc2299801
fix: Fixed workspace tests having an extra tab, b=(no-bug), c=common, compact-mode, workspaces, tests 2025-05-09 19:29:53 +02:00
mr. m
2f68f77f87
feat: Added better toast management, b=(no-bug), c=common, compact-mode 2025-05-09 18:32:03 +02:00
mr. m
7ca3396c8b
feat: Final touches for release, b=(no-bug), c=common, compact-mode 2025-05-07 14:29:04 +02:00
Mr. M
a79678a0cb
chore: Remove extra animation frame to update toolbars, b=(no-bug), c=common 2025-05-06 07:59:27 +02:00
Mr. M
808e186dae
fix: Fixed ctrl+K into the urlbar having the wrong coordinates, b=(closes #8093), c=common, tabs, workspaces 2025-05-06 07:23:14 +02:00
Mr. M
def0ed7a52
fix: Fixed essentials content not loading, b=(closes #8039), c=common, tabs 2025-05-05 20:10:48 +02:00
Mr. M
3b4c2f6d76
feat: Make URL bar stay perfectly at the center always, b=(no-bug), c=common 2025-05-05 19:44:31 +02:00
Mr. M
395cc0a19d
feat: Organized preferences by files, b=(no-bug), c=media, common 2025-05-05 17:30:11 +02:00
Mr. M
d800c20905
fix: Fixed some issues before release, b=(no-bug), c=common, compact-mode, workspaces 2025-05-02 23:39:14 +02:00
Mr. M
71558dca71
fix: Fixed sidebar not appearing from the right side on linux, b=(no-bug), c=common, compact-mode 2025-05-02 18:04:05 +02:00
mr. m
d845853643
feat: Added support for double clicking the resize bar, b=(no-bug), c=common 2025-05-01 14:12:55 +02:00
mr. m
8aa964bc78
chore: Pre-release changes, b=(no-bug), c=common, mods, tabs, workspaces 2025-05-01 13:20:01 +02:00
mr. m
f0b60391a8
fix: Fixed PGO builds for intel macos, b=(no-bug), c=common, workspaces 2025-04-30 14:47:46 +02:00
mr. m
a4086122aa
fix: Essential tabs layout rendering to use better available space, b=(no-bug), c=common, tabs, workspaces 2025-04-30 14:32:35 +02:00
Mr. M
388e69cc38
fix: Fixed incorrect behavior when using ctrl+enter from new tab addressbar, b=(bug #7898), c=common 2025-04-29 10:08:03 +02:00
Mr. M
3d9a40beb9
feat: Added better privacy and less connections on startup, b=(no-bug), c=common, configs, tabs, welcome 2025-04-27 19:52:06 +02:00
Mr. M
69405bda0f
fix: Panels UI not rendering addons correctly and overflow outside the screen on linux, b=(bug #7633), c=common 2025-04-27 16:15:23 +02:00
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
8fcf251916
feat: Improved tab switching for containerizedd essentials, b=(no-bug), c=common, workspaces 2025-04-25 00:17:54 +02: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
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
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
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
d71a890430
fix: Fixed performance issue when closing multiple tabs, b=(closes #7507), c=common 2025-04-17 11:13:03 +02:00
Mr. M
1135744520
refactor(common, compact-mode, folders, fonts, glance, images, kbs, media, mods, split-view, tabs, tests, workspaces, vendor, welcome): closes #7628 - Refactor zen components file structure for easier understanding 2025-04-15 14:03:55 +02:00
Renamed from src/browser/base/content/ZenUIManager.mjs (Browse further)