eythaann / Seelen-UI

The Fully Customizable Desktop Environment for Windows 10/11.
Other
4.14k stars 113 forks source link

Resolution, tablet, orientation change propagation #288

Closed luriusTM closed 4 days ago

luriusTM commented 2 weeks ago

The modification stores the resolution and DPI in monitor instance. In case of DPI or resolution changes, modified, the updated logic, which now capable to handle these associated events also. image

The event logic modified via channels. image

The channel modification handlers instead of call to instance immediately, calls reorganise on Seelen. image

This way, wall will be notified also. In case there is direct monitor way of reposition, only the associated instance will be reorganised. image

luriusTM commented 2 weeks ago

Dependency after the merge of new setup created: https://github.com/Seelen-Inc/slu-lib/pull/3

luriusTM commented 2 weeks ago

I modified the scope of the PR, because do not wanted to open a dependent PR on this. Currently I did not apply any modification on this behaviour, just applied the css class, so visually we can modify the appearance.

eythaann commented 1 week ago

I see new classes added to components but no changes on css files, remove unnused classes. Also share images about the new settings added., btw wait for this breaking change will come soon. haha sorry.

luriusTM commented 1 week ago

I see new classes added to components but no changes on css files, remove unnused classes. Also share images about the new settings added., btw wait for this breaking change will come soon. haha sorry.

Waiting for that :)

eythaann commented 4 days ago

I think this PR is no longer needed.

luriusTM commented 4 days ago

Would not say so, but currently no feature is associated to the not merged functionalities. The leftover from this PR: image

Determining is a display is in tablet mode, and the orientation for the display. The tablet mode got to propagate. to be able to reorganise the UI based on this info (touch enablement).

eythaann commented 4 days ago

Currently, these fields are not needed, but could be added in a future on this interface src\background\modules\monitors\domain.rs slu-lib: src\system_state\monitors.ts