-
Notifications
You must be signed in to change notification settings - Fork 116
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
feat(Workspace): add missing settings and update design #557
base: master
Are you sure you want to change the base?
Conversation
1ff8aec
to
1c9e8cb
Compare
cbed42c
to
a4026b3
Compare
On the video it looks like the illustrations for workspaces spanning displays and being separate is very dark. Do you know why that it? Are those just SVGs? I also can't tell from the video is workspace thumbnails change position on the illustration depending on their placement (left, right etc.) Another question is if the illustrations change for light mode? The rest of it looks nice on the video, thanks for working on it. |
Yes, this is due to the bug in iced I attached above.
Does that mean that, for example
if If so, would it be worth adding the assets in the design?
It does! :) |
Should the trackpad gestures dynamically update depending on workspace orientation and thumbnail placement (once those gestures are implemented/configurable in cosmic-comp)? |
This is already the case. Are you suggesting it shouldn't? |
Oh, right, in the designs the text doesn't change, but in the video it works properly. (should they maybe be called Touchpad gestures, since that's how it's referred to on other pages?) |
Assets are easy to add. Same thing with trackpad gestures. Do they actually change? They should be but I want to double check. And same thing with workspace overview thumbnails options like Show workspace number and Show workspace name. I don't believe those are implemented yet so they shouldn't be present in Settings. The mockups you are looking at have been adjusted for first release with a lot of things removed from it. About the bug in Iced - we should wait merging those illustrations until the bug is fixed. |
Great. Please ping me when they are in so I can update the PR!
Currently not - the setting is not applied yet. I don't quite know how it needs to be persisted for the Note I'm not developing live on COSMIC as well, so this work was mostly focused on the UI only. I might give it a go at some point using a VM (sadly I cannot run cosmic on my setup due to a long standing issue)
Yes, most of the work I've done here is for the second release. AFAIK, Workspace as it stands is is already ready for the first release.
Agreed - this is already in the PR description I have updated the PR title so it is more clear. |
87e4f3a
to
43aa41e
Compare
0227032
to
5ba0294
Compare
5ba0294
to
05e38a1
Compare
Since I have also added the extra assets for right and bottom workspace overview thumbnails as @maria-komarova requested. Screencast.from.07-11-24.21.41.55.webm |
Please remove or comment out non-functional settings, like the Workspace Overview Thumbnails section and Thumbnail placement. The App Library gesture also isn't implemented yet afaik, so that should also probably be commented out. cosmic-settings/cosmic-settings/src/pages/input/mod.rs Lines 204 to 221 in 42a3061
|
You disabled the Multi-monitor Behavior section, instead of the Workspace Overview Thumbnails ( |
Thanks for the quick review @git-f0x - I have commented out features unsupported by the cosmic-workspaces-epoch. I'm going to try to add the orientation in there, the multi-monitor behaviour is probably something I won't be able to do as I'm still struggling to understand the cosmic-comp code. Is that something you could give me pointers to or do you reckon it's best letting someone else look into it? |
That should already be the case (I've hidden the dropdown for left/right, top/bottom selection) |
Those settings were there previously, but were removed because they were non-functional. Toggling either doesn't change anything in workspaces.
It's supported, and is present in the current master.
The images cannot show up, since the chosen image depends on a non-existing variable ( |
Weird - this is working for me. Changing horizontal/vertical does change where the workspace thumbnails get displayed
Ah great. I will bring it back then.
This PR depends of this one which does add the relevant settings. I've just implemented the support for right/bottom placement on (I'm using a cargo.toml patch locally, which make the repo to point at my comp PR) |
I'm referring to the Workspace Overview Thumbnails section, with show name and show number, not the Workspaces Orientation section for choosing vertical/horizontal workspaces.
Oh, didn't know you had implemented it in workspaces as well. Great work! |
6062fa2
to
64a07a7
Compare
64a07a7
to
53e4549
Compare
I have implemented the features in cosmic-workspaces-epoch so I have restored the settings. I added the |
This work is mostly focused on the look-n-feel.
Design
Current look
Screencast.from.04-09-24.16.29.31.mp4
Note there is currently a limitation impacting SVG rendering in iced 0.12.x, but this appear to be fixed in 0.13
Depends of:
mask-type
style attribute in SVG iced-rs/iced#2566 (backport to 0.12.x or libcosmic upgrade to 0.13.x)