LivelyKernel / LivelyKernel/LivelyKernel

lively.ide.resizeWindow.full does not update morph boundaries and looses selection

Open
#296 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
304
Forks
60
PR merge metrics
No merged PRs in 30d

Description

If you:
- Select a window morph (cmd+click),
- Open the alt+x menu,
- Resize to full (lively.ide.resizeWindow.full),

Then: The bounds (red rectangle) stays the same, while the morph is actually resized.
And: While the morph halos are still shown, the focus changes. (In case of the browser, it changes to the input element, such that pressing alt+x again has no effect other than entering a special character into the main text field.)

Solution: Hide/remove the halo display, to force user selection, or reselect the window morph and update the halo display.

P.S.: The same problems seems to exist for all other ide.resizeWindow instructions.

Using: Chrome 41.0 on MacOS, lively 79b595b within docker.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the lively.ide.resizeWindow.full command and compare its behavior with the other ide.resizeWindow instructions. Reproduce the cmd+click and alt+x flow in Chrome, then verify that resizing updates the morph bounds and preserves or re-establishes the window selection and halo focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.