Skip to content
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

Mica Alt #17650

Open
Andarwinux opened this issue Aug 2, 2024 · 11 comments
Open

Mica Alt #17650

Andarwinux opened this issue Aug 2, 2024 · 11 comments
Labels
Area-Theming Anything related to the theming of elements of the window good first issue This is a fix that might be easier for someone to do as a first contribution Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Milestone

Comments

@Andarwinux
Copy link

Description of the new feature/enhancement

Add Mica Alt support

Proposed technical implementation details (optional)

@Andarwinux Andarwinux added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Aug 2, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Aug 2, 2024
@carlos-zamora carlos-zamora added Area-User Interface Issues pertaining to the user interface of the Console or Terminal Product-Terminal The new Windows Terminal. Area-Theming Anything related to the theming of elements of the window and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements Area-User Interface Issues pertaining to the user interface of the Console or Terminal labels Aug 7, 2024
@carlos-zamora carlos-zamora added this to the Backlog milestone Aug 7, 2024
@zadjii-msft
Copy link
Member

Eh, sure.

Hardest part would be changing the existing $theme.$window.useMica property in the settings from a straight boolean to one that also accepts a string enum. (ala bellStyle and BellStyle)

@zadjii-msft zadjii-msft added Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. good first issue This is a fix that might be easier for someone to do as a first contribution and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. labels Aug 7, 2024
@github-project-automation github-project-automation bot moved this to Should be written in Terminal Walkthroughs Aug 7, 2024
@mews6
Copy link

mews6 commented Aug 18, 2024

Is there anybody working on this? I think i could take a look at it.

@zadjii-msft
Copy link
Member

@mews6 go for it! Lemme know if you need any help.

@BretasArthur1
Copy link

@mews6 u still working on this issue?

@mews6
Copy link

mews6 commented Aug 22, 2024

@mews6 u still working on this issue?

Yes, i am. I have been scouting the codebase to check where should i be changing stuff because this is my first time contributing to the project. I'm trying to formulate a good briefing of the changes to be done before i change anything in the code itself and there are already a few things I'm probably going to ask about, but I'm trying to check if there are any obvious responses to my questions before getting back here and asking those questions, if that makes any sense. Sorry if i have taken a bit longer for that, I'm just trying to get accustomed.

I'm currently trying to understand how the settings mentioned by @zadjii-msft work. Just reading documentation (mostly here) on how those terminal settings work and checking where Mica is mentioned in the repo (Which you can check here). I could certainly use a bit of guidance for where i should be changing stuff. It seems that useMica is declared as a function in

void IslandWindow::UseMica(const bool newValue, const double /*titlebarOpacity*/)
and
void NonClientIslandWindow::UseMica(const bool newValue, const double titlebarOpacity)

Among other places.

I'm not still sure if we should be changing both definitions, if there is anything else to be changed or if there are any other considerations i should have regarding this problem. That's the reason i haven't really talked much here, but rest assured i'm working on it and i'm open to feedback.

@BretasArthur1
Copy link

I think that u r in the perfect way to solve it! It's my first time here to, and if u wan't to discuss about it, I will be glad to help... I have some ideas to implement to...

@geethika870
Copy link

hey can i work on this!

@mews6
Copy link

mews6 commented Aug 30, 2024

Hmm, for some reason this issue is gathering quite a bit of attention

@zadjii-msft , what should we do about this?

@typenoob
Copy link

typenoob commented Sep 2, 2024

I think you could just specify mica alt theme by giving DWMSBT_TABBEDWINDOW value to const attribute.

void IslandWindow::UseMica(const bool newValue, const double /*titlebarOpacity*/)

Following code block has called the function we modified.

void NonClientIslandWindow::UseMica(const bool newValue, const double titlebarOpacity)

@mews6 u still working on this issue?

Yes, i am. I have been scouting the codebase to check where should i be changing stuff because this is my first time contributing to the project. I'm trying to formulate a good briefing of the changes to be done before i change anything in the code itself and there are already a few things I'm probably going to ask about, but I'm trying to check if there are any obvious responses to my questions before getting back here and asking those questions, if that makes any sense. Sorry if i have taken a bit longer for that, I'm just trying to get accustomed.

I'm currently trying to understand how the settings mentioned by @zadjii-msft work. Just reading documentation (mostly here) on how those terminal settings work and checking where Mica is mentioned in the repo (Which you can check here). I could certainly use a bit of guidance for where i should be changing stuff. It seems that useMica is declared as a function in

void IslandWindow::UseMica(const bool newValue, const double /*titlebarOpacity*/)

and

void NonClientIslandWindow::UseMica(const bool newValue, const double titlebarOpacity)

Among other places.
I'm not still sure if we should be changing both definitions, if there is anything else to be changed or if there are any other considerations i should have regarding this problem. That's the reason i haven't really talked much here, but rest assured i'm working on it and i'm open to feedback.

@the-sky7
Copy link

the-sky7 commented Oct 9, 2024

Hi @zadjii-msft, if this issue has been resolved then please close/mark it done

@DHowett
Copy link
Member

DHowett commented Oct 9, 2024

Hi zadjii-msft, if this issue has been resolved then please close/mark it done

@the-sky7 Having fully read and understood the comment thread, do you have any reason to believe that this issue is resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Theming Anything related to the theming of elements of the window good first issue This is a fix that might be easier for someone to do as a first contribution Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
Status: Should be written
Development

No branches or pull requests

9 participants