Bug 579312

Summary: [mac] StyledText from reword commit dialogue appears as blank in external monitor
Product: [Eclipse Project] Platform Reporter: Pierre-Yves Bigourdan <pyvesdev>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: twolf
Version: 4.23   
Target Milestone: ---   
Hardware: All   
OS: Mac OS X   
Whiteboard:

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]".)