imagej / imagej/imagej2

Support multiple monitors better

Open
#32 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

As reported by @ehrenfeu:

> I'm working with a dual-screen layout (internal notebook + external TFT), where the external one is a lot bigger and thus naturally my primary screen.
>
> Depending on the configuration where Unity should place its launcher, ImageJ places _most_ of its windows on the same screen (e.g. the main window, newly opened files, brightness&contrast). However, some windows always get placed on the leftmost screen (histogram, action bars, ...), which is a bit confusing.
>
> So apparently some windows follow a "preferred" screen policy while others stubbornly stick to the first available screen.

We could fix this at the `ij-legacy` level by adding a patch to be smarter about using `GraphicsEnvironment` to show dialogs on the expected screen in more cases.

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 in the ij-legacy level and locate the window and dialog placement code that uses GraphicsEnvironment. Reproduce the reported dual-screen behavior with a larger external primary display and compare the affected windows. Done means the histogram, action bars, and other dialogs follow the expected preferred-screen policy instead of consistently using the leftmost screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.