Opened 13 years ago
Last modified 8 years ago
#8365 in-progress enhancement
Workspaces size doesn't update as you change the options (easy)
Reported by: | jstressman | Owned by: | leavengood |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Workspaces | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
If you change the number of columns and rows for Workspaces, it doesn't update the size of the Workspaces window to correctly fit the workspaces in there in relation to their aspect ratio. So you end up with a bunch of squished workspaces until you actually click on the Workspaces window to resize it... then it suddenly snaps to the proper dimensions.
Shouldn't this update as you make the settings changes? Perhaps not exceeding the starting width x height dimensions so as not to end up outside the current desktop borders?
Attachments (3)
Change History (11)
by , 13 years ago
Attachment: | workspaces7.png added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
This could certainly be done, best based on the current aspect ratio. It could simply move the window to prevent it from leaving the screen.
comment:3 by , 13 years ago
Summary: | Workspaces size doesn't update as you change the options → Workspaces size doesn't update as you change the options (easy) |
---|
comment:4 by , 13 years ago
I will a attach a patch for this. It is depended on the changes made in the patch #8188 though.
by , 13 years ago
Attachment: | workspaceszoom1.patch added |
---|
Updates the size (by calling Zoom()) when the workspace layout is updated. Depends on patch in #8188
comment:5 by , 13 years ago
patch: | 0 → 1 |
---|
by , 13 years ago
Attachment: | workspaceszoom1.2.patch added |
---|
Updates the size (by calling Zoom()) when the workspace layout is updated. Depends on patch in #8188
comment:7 by , 8 years ago
patch: | 1 → 0 |
---|
comment:8 by , 8 years ago
Several comments on the patch (which proabably does not apply anymore to the current codebase).
It does not feel right to have the notification sent from the screen preferences. There could be other places able to control the workspace count. Instead, the message should be sent from app_server when the workspaces are actually created or deleted.
Handling of the window position in this case will be tricky.
- If the window was at the screen edge for use with auto-raise, it should snap to said edge and change its size so the workspaces size in the preview stays the same.
- If it is not at any particular screen edge, Zoom will move it there if the auto-raise feature is enabled. Otherwise, it should only make sure that the window fits into the screen.
This is in hrev43809 by the way.