Bug 579312 - [mac] StyledText from reword commit dialogue appears as blank in external monitor
Summary: [mac] StyledText from reword commit dialogue appears as blank in external mon...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.23   Edit
Hardware: All Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-18 05:06 EDT by Pierre-Yves Bigourdan CLA
Modified: 2022-03-18 07:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Yves Bigourdan CLA 2022-03-18 05:06:50 EDT
When trying to reword a commit directly from the history view (right click -> Modify -> Reword), the "Interactive Rebase - Reword Commit" dialogue appears as blank, and typing inside the text box has no effect. I need to press "Preview Commit Message" for the edited commit message to appear. After disabling "Preview Commit Message", the text remains and is editable as expected, only the initial state of the dialogue seems messed up.

I'm using EGit 6.2.0.202203171257 with Eclipse 2022-03 on macOS 12.3.
Comment 1 Thomas Wolf CLA 2022-03-18 05:32:42 EDT
Cannot reproduce on OS X 10.14.6.
Comment 2 Pierre-Yves Bigourdan CLA 2022-03-18 05:47:33 EDT
Just noticed one important element to reproduce: this only happens when my laptop is plugged into an external monitor, and the Eclipse window is on that external monitor.
Comment 3 Thomas Wolf CLA 2022-03-18 06:14:50 EDT
Doesn't sound like an EGit problem. There have been several bug reports in the recent past in platform or SWT about dialogs not activating or focusing correctly on recent OS X versions. There have also been reports about problems involving external monitors.

The dialog uses a StackLayout containing the editable StyledText and the read-only preview; with the editable text area set as initial top control and being focused. Maybe that doesn't work anymore on OS X 12.3, but if so, it's a Platform UI or SWT problem.

I have no environment in which I could analyse problems specific to OS X 12.3 or specific to external monitors.

I suggest you move that bug over to the platform UI component. (And prefix the title with "[mac]" or "[os x]" or "[cocoa]".)