google / google/codeworld

Dragging the if block produces weird results

オープン
#337 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug funblocks
主要言語
Haskell
スター
1.3k
フォーク
201
PR マージ指標
30日以内にマージされた PR はありません

説明

![ifdrag](https://cloud.githubusercontent.com/assets/544744/18338675/9cf7c6ac-754f-11e6-93e4-e9fe95fc9942.png)

Grabbing the `if` block from the toolbox results in a noticeable delay. If the mouse is held still for the delay, all is well. If the mouse is moved during the delay, then the offsets of various shadow and connectors are incorrect by an amount roughly proportional to the mouse movement, as in the screen shot.

It's as if there's some very excessive computation that gets run when the block is grabbed; and furthermore, that the current mouse position is sometimes grabbed before that computation, and sometimes after, resulting in incorrect offsets for some components.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

`if` ブロックの toolbox ドラッグパスから始め、マウスを動かしている間の遅延を再現します。シャドウとコネクタのオフセットの挙動を追跡します。移動を伴うドラッグでこれらのオフセットが不正な状態のままにならなくなれば完了です。プロジェクトの既存のテストパスが回帰テストに対応している場合は、回帰テストも追加します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
haskell
領域
frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。