alt-tab-macos icon indicating copy to clipboard operation
alt-tab-macos copied to clipboard

feat: Appearance tab re-design

Open sapoepsilon opened this issue 2 years ago β€’ 19 comments
trafficstars

  • [ ] Create a macos theme that looks exactly like MacOS' native tab switcher
    • [x] auto appearance change alt-tab: image

mac-os native: image

  • [ ] Change appearance settings tab view
    • [ ] Group by themes
    • [ ] Create individual settings for each theme

Figma link image

sapoepsilon avatar Jul 25 '23 23:07 sapoepsilon

Hi @sapoepsilon,

Thank you for sharing this PR! Today i start moving out to a new place. So please forgive me if it takes a while until i can review it πŸ™‡β€β™‚οΈ

Hopefully next week i can do a review.

Thank you

lwouis avatar Jul 26 '23 05:07 lwouis

Hi @sapoepsilon,

Thank you for sharing this PR! Today i start moving out to a new place. So please forgive me if it takes a while until i can review it πŸ™‡β€β™‚οΈ

Hopefully next week i can do a review.

Thank you

Take your time! This PR is WIP and will probably take me weeks to fully implement the full redesign. At this stage is more of a POC.

Good luck with moving. That's always a pain!

sapoepsilon avatar Jul 26 '23 17:07 sapoepsilon

I was about to submit the same request since the only issue I have with my AltTab setup is the theme color because it's always in dark mode, but I'm happy to see @lwouis is open to making it, anyways here are some screenshots of my configuration.

Screenshot 2023-07-31 at 05 08 22 Screenshot 2023-07-31 at 05 08 54

AlejandroVolkova avatar Jul 31 '23 09:07 AlejandroVolkova

Hey @lwouis, I am struggling here a bit. I am trying to align a new TabView in the Appearance tab of the Preferences Window. However, whenever I am shifting a MacOS theme with one element in it the TabView is shifting to the bottom. Have you encountered this kinda issue?

image

alttab

sapoepsilon avatar Aug 21 '23 15:08 sapoepsilon

@sapoepsilon i'm afraid it's a classic AppKit layout issue. I've spent countless hours on such issues.

We still have a few open issues users get into on older macOS releases for instance. In addition, there have been layout conflict warnings in the logs for many years, and i haven't been able to remove them. As far as i can tell, the preference window with its header of buttons at the top is bugged straight from the SDK. Unless we would re-implement it from scratch, it's literally bugged from the SDK at the internal level. That's for the warnings.

in your case, it's probably the layout engine not figuring out what to do. It's about trial and error in my experience. AppKit has 3 layout systems that were introduced over the years, and all 3 exist on top of each other. I invite you to look at guides to go more in depth on the topic.

If you prefer, feel free to throw away a lot of the current approach and write something better, for the layout part of the preferences tabs.

lwouis avatar Aug 21 '23 17:08 lwouis

Sounds good! Will experiment with the UI, then! Thank you for the advise.

sapoepsilon avatar Aug 22 '23 16:08 sapoepsilon

@sapoepsilon some extra tips:

  • Don't hesitate to use this. It will add an overlay on the windows when it detects conflicts. This is in addition to what AppKit already logs in that regards, when you launch the app and open windows.
  • You can add a symbolic breakpoint to help debug layout issues
    image
  • The overlap between the various layout system can be tamed by using some of these methods:
    • translatesAutoresizingMaskIntoConstraints
    • Using contraints with contraint(...).isActive = true (example)
    • Positionning things "manually" with frame, frame.width/frame.height, setFrame, setFrameOrigin, setContentSize, etc.

lwouis avatar Aug 22 '23 16:08 lwouis

Some of the long-lasting issues I've mentioned: https://github.com/lwouis/alt-tab-macos/issues/1062, https://github.com/lwouis/alt-tab-macos/issues/814, https://github.com/lwouis/alt-tab-macos/issues/2663 and https://github.com/lwouis/alt-tab-macos/issues/1279

lwouis avatar Aug 22 '23 16:08 lwouis

Some of the long-lasting issues I've mentioned: https://github.com/lwouis/alt-tab-macos/issues/1062, https://github.com/lwouis/alt-tab-macos/issues/814, https://github.com/lwouis/alt-tab-macos/issues/2663 and https://github.com/lwouis/alt-tab-macos/issues/1279

Those are interesting issues. Will tackle them down too. This is awesome, thanks!

sapoepsilon avatar Aug 22 '23 16:08 sapoepsilon

Hi @sapoepsilon,

I was able to review this work a bit today. I ran the app, but it seems that the preference UI is not yet changed in a usable way.

I think the state of this MR is work-in-progress, right? I mean that it's still a bit far away from the Figma, right?

Please let me know when you've made more progress, and I'll check it out again πŸ‘

Thank you

lwouis avatar Sep 19 '23 16:09 lwouis

Hi @sapoepsilon,

I was able to review this work a bit today. I ran the app, but it seems that the preference UI is not yet changed in a usable way.

I think the state of this MR is work-in-progress, right? I mean that it's still a bit far away from the Figma, right?

Please let me know when you've made more progress, and I'll check it out again πŸ‘

Thank you

Hello @lwouis , yes, it is still in work in progress.

I have made a little more progress in my fork, and have not committed it here yet. Also, my school has started(last semester) and I have been neglecting this project for the last couple of weeks. As soon as I figure out my time management, I will be back to active contributions.

I, initially, planned that the work be done in 2 weeks(ha-ha), but I think I would be done by January next year with my current schedule.

sapoepsilon avatar Sep 19 '23 16:09 sapoepsilon

Hoping we can see a redesign :)

jacksongoode avatar Oct 19 '23 19:10 jacksongoode

Hoping we can see a redesign :)

I will resume my work in November. I'm projecting it to be done by January.

sapoepsilon avatar Oct 19 '23 19:10 sapoepsilon

This will be a lifesaver given the recent Sonoma updates - thank you for your efforts on this!

conker-rsc avatar Nov 15 '23 21:11 conker-rsc

Update maybe?

Hey, I’ve been thinking about finishing up the work this summer. Sorry, I got really busy with work and school.

sapoepsilon avatar Jul 01 '24 04:07 sapoepsilon

I don’t mean to sound rude or complain, but I wish someone could fully commit to moving things forward, it's been a long time and unfortunately still there's no advancement in this matter, Maybe involving the app owner could help move things forward

AlejandroVolkova avatar Jul 01 '24 11:07 AlejandroVolkova

@AlejandroVolkova pinned issue: #1179

lwouis avatar Jul 01 '24 13:07 lwouis