-
-
Couldn't load subscription status.
- Fork 97
[WIP, M141] Vertical tabs #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@wukko PR should be mostly working, except for tab groups (their underline layout will be off) :3
|
|
Also DnD doesn't work for last tab in a strip, probably something to do with padding logic. |
|
this would be great |
If this works and some other features like spaces, tab groups, pinned tabs and other features from Zen come here, I might just make the switch. |
|
but, maybe you actually need to modify source then, instead of just using patch files. |
… what do you think patch files are? |
Oh, so patch files are modification of source, but in a way that makes your codebase less messy? I really don't know much about browsers in general. |
|
and btw is vertical tabs a consideration at this point in time? |
Vanilla Chromium already has tab groups, pinned tabs and profiles (instead of spaces). |
I agree, but that would require even more changes to core Chromium layout and those changes will break on every new Chromium release. |
|
@wukko I have a few questions:
|
|
@thenhnn |
|
@hassidan, do you mean microsoft edge or something else? |
|
BTW, just saw that: |
fwiw this is completely broken rn and months out before release |
@thenhnn yes please |
We should make our own implementation and then switching to vanilla vertical tabs will be an easy switch(assuming that we don't add a lot of features to the vertical tabs that vanilla wont have). |
|
I need this! if you get this working in a stable state I will paypal you 100€ hahaha (And uninstall arc lol) |
Chromium provides much more stable and mature platform than Firefox imo. This PR is still draft and I'm still not sure how to fix some things. It's NOT final product. |
exactly why I want to switch to Helium after the features I want are here. |
you're doing an amazing job, please don't let these people get to you. both me and @dumbmoron are incredibly grateful that you're doing this for everyone in the first place, it takes a lot of talent and dedication. i'm very used to people just "consuming" instead of contributing literally anything at all, so this PR was honestly a shock to me. i'll help you fix things asap, right after the initial public release. for everyone else: keep in mind that this is clearly WIP and also free labor done out of someone's kindness, don't be a dick and don't compare this to work of multi-trillion-dollar companies. |
It was not supposed to sound mean or anything, all I said was Zen is good until this properly gets vertical tabs. @thenhnn Is doing a great job with this PR. |
|
I appreciate this PR as I want to switch to Helium too. But, I cant without vertical tabs. |
|
I use helium for stuff that is much better on Chromium or things I want away from my Work stuff. Vertical tabs are too good to switch to horizontal for. |
...everything? zen is great, it's just that mozilla has lost the plot a while ago |
I know I wish they started off with chromium, but that's why I Like this project. Its Chromium |
|
@thenhnn building should work now |
|
@thenhnn can you test if scrolling works fine on linux? i'm not sure if it's a real issue or if it's just one of countless screen sharing artifacts, for me it constantly gets stuck and doesn't scroll properly. i feel like it has something to do with dragging detection, but i'll look into it more in the morning. |
yep, both tab scrolling and content scrolling work. what do you mean by "screen sharing artifacts"? |
i use a remote mac to compile dev builds, therefore i also run them remotely and interact with helium via "screen sharing":
(it glitches out all the time, probably worst macos app ever made, but sometimes makes cool glitch art i guess)however, i still think that choppy scrolling is a real issue, at least on macos, cuz this is how it behaves: scroll.mp4it doesn't scroll unless the mouse cursor is moving, so it's not really functional as-is i'm also pretty sure that a bunch of log messages like this are related to scroll: |
hmm, it's smooth on linux for me. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
I'm not getting that error message on my end but the scrolling seems to break when the cursor leaves the bounds of the tab. I may be wrong on this but I think its using the same feature of being able to scroll the tab strip when there are too many tabs horizontally but in that case the layout there enforces that the cursor is always on a tab and so you can keep scrolling the tab strip. Because there are breaks in the hit bounds for tabs when vertical the hit check for whether the scroll should apply fails and stops abruptly. Here's a video of trying to scroll at various cursor positions that illustrates this: CleanShot.2025-10-21.at.19.07.48.mp4 |
This comment was marked as off-topic.
This comment was marked as off-topic.
@joshuafhiggins I rebuilt from scratch to check this was the only change required and it does fix the toolbar for me. This is the full updated function in |
This works now! Are you able to submit this as a PR against thehnn/verticaltabs? I can send instructions for using quilt if you'd like. |
|
@joshuafhiggins @ctorney i can push this fix directly to this pr after testing it, should both of you be commit's authors? or should it only be @ctorney? |
|
Are we sure that problem isn't somewhere deeper? It's still broken on Linux in the same way. |
i'm fairly certain that the issue is indeed deeper, since Linux is affected too |
either way is totally fine with me but agree that this is a deeper issue and a better fix may resolve for macos 15.7 without needing this change. |
will improve this in future commits cuz now you can't drag the window by empty spots in the toolbar (outside of buttons)
|
figured it out and pushed a proper cross-platform fix. gonna have to write hit test logic like in |
This comment was marked as spam.
This comment was marked as spam.
now vertical tab groups match tabs and look beautiful
tabs no longer overlap each other, and tab group dragging now looks clean and nice :3 also refactored some related code
| + scroll_view->SetVerticalScrollBarMode( | ||
| + views::ScrollView::ScrollBarMode::kEnabled); | ||
| + scroll_view->SetHorizontalScrollBarMode( | ||
| + views::ScrollView::ScrollBarMode::kDisabled); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On macOS, with "Show scroll bars" set to "Always", the bar is still hidden but is now active as opposed to being completely disabled with "Automatically based on mouse or trackpad". This behavior also existed before this change but with the horizontal scrollbar showing.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as spam.
This comment was marked as spam.
|
for the love of god, don’t comment anything here if it’s not related to development of this feature. this isn’t a chat, this is a pull request with a shitton of people following its development. you are spamming a bunch of people for no reason. have some common decency. |






DISCUSSION BELONGS TO #239
Feature requests will be marked as off topic. People subscribe to this PR to follow development, not to get a lot of spam in their inbox.
TODO