Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Large 2htdp/image values displayed in DrRacket interactions get clipped, confusing

オープン
#809 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
領域
desktop

調査の方向性

まず DrRacket のインタラクションウィンドウで例を再現し、次に表示された大きな画像を、コピーした表現およびその結果生じる check-expect の失敗メッセージと比較します。表示とコピーの後も、見た目が異なる画像が区別可能なままで、表現が暗黙に変更されないことをもって完了とします。

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

説明

Because the DrRacket interactions window seems to clip overly-large images, two images that should look very visibly distinct in the interactions window can actually end up resembling one another.

#lang htdp/isl+
(require 2htdp/image)

(define BIG-CIRCLE (circle 3000 "solid" "blue"))

(define ACTUALLY-CLIPPED-CIRCLE
  (crop 0 0 4167 6000 BIG-CIRCLE))

BIG-CIRCLE
ACTUALLY-CLIPPED-CIRCLE
(image-width BIG-CIRCLE)
(image-height BIG-CIRCLE)
(image-width ACTUALLY-CLIPPED-CIRCLE)
(image-height ACTUALLY-CLIPPED-CIRCLE)

When a user copies that clipped image back to the definitions window, the clipped cache silently becomes the copied/exported representation of the full image.

Copying and pasting such an image into a check-expect leads to perhaps-surprising test failure error messages, where the images look the same but its frames that look different.

Image
主要言語
Racket
スター
516
フォーク
102
平均マージ
8時間 52分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

racket/drracket のほかの issue

racket/drracket の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

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

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