I have undocked the git commit window, and selecting use non-modal isn't fixing it?

Answered

As shown below, I use to have commit on the left hand side bar in its own tray slide out thingy (technical term).  I accidentally undocked, and it became a pop up window again.  So i selected: Version Control > Commit > Use non-modal commit interface, but it's found its way into the git dock as a tab at the bottom, and i can't see way of dragging, right clicking undocking it out of git and back into its rightful place.  I don't think it would bother me much if it was across all the apps, but this is different on WebStorm, RubyMine, and PyCharm! I'd prefer it back whence it came!
Bad Commit:

 

Good Commit:

1
29 comments

Hello,

Please restore "Use non-modal commit interface" option state, open commit window and under grey cog wheel select "View Mode -> Dock pinned"

4

Thanks I know i'm missing something really obvious here, but I can't see what it is.

I've already got "Use non-modal" ticked:

I can't see a grey cog wheel, but I presume right clicking on the local changes tab gets me the same place?  I already have view mode as "Dock Pinned"?:



2

With "Use non-modal" ticked Commit should be shown in separate window. Strange. Please try to disable that option. Will commit be moved to separate window?

1

Yes, if i untick "Use non-modal" then I have a classic separate popup window again.

1

Could you dock it now?

0

Nope, I've already tried checking and unchecking. It just defaults to a local & shelf tab within the git pinned docked tab.

0

Please enable mode when commit is located in separate popup and try to dock that popup.

0

I think this is what youre asking?

So I started with it ticked:


I commit, the window popped up, i left the window open, and head to preferences to retick use non-modal:


Then applied and ok'd, the commit window stays open, but if i close and recommit we are back to where we started:

0

What IDE version do you use? Could you please leave "Use non-modal" option enabled and restart IDE. Will it move commit to separate window?

0

Left it ticked and cycled, tbh this has already happened because it's spanned the days now anywya.

The option stayed ticked across restarts, and commit stays within the git tab at bottom.

 

About:

IntelliJ IDEA 2021.3.2 (Ultimate Edition)
Build #IU-213.6777.52, built on January 28, 2022
Licensed to Fanduel / Alex Dodd
Subscription is active until July 20, 2022.
Runtime version: 11.0.13+7-b1751.25 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.6.2
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
    ide.balloon.shadow.size=0

Non-Bundled Plugins:
    org.intellij.RegexpTester (1.0.8)
    indent-rainbow.indent-rainbow (1.7.0)
    com.tobszarny.activetabhighlighter.plugin.id (1.5.1)
    com.samdark.intellij-visual-studio-code-dark-plus (2.5)
    com.jmg.codecomment (4.1)
    com.intellij.ideolog (203.0.27.0)
    org.sonarlint.idea (6.4.3.42541)
    org.jetbrains.kotlin (213-1.6.10-release-944-IJ6461.79)
    com.intellij.guice (213.6461.21)
    com.github.kisstkondoros.codemetrics (1.0.4)
    String Manipulation (8.25.203.5981.1)
    Key Promoter X (2021.3)
    IdeaVIM (1.9.3)
    mobi.hsz.idea.gitignore (4.3.0)
    com.mallowigi (54.1.0)
    com.github.shiraji.findpullrequest (1.7.2)
    zielu.gittoolbox (212.8.4)
    izhangzhihao.rainbow.brackets (6.21)
    com.haulmont.jpab (2021.6.2-213)

Kotlin: 213-1.6.10-release-944-IJ6461.79

0

Could you please try to disable Non-Bundled Plugins?

0

IntelliJ IDEA 2021.3.2 (Ultimate Edition)
Build #IU-213.6777.52, built on January 28, 2022
Licensed to Fanduel / Alex Dodd
Subscription is active until July 20, 2022.
Runtime version: 11.0.13+7-b1751.25 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.6.2
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
    ide.balloon.shadow.size=0


Kotlin: 213-1.6.10-release-944-IJ6461.79

All bundled plugins disabled, i have unticked, reticked, restarted, commit window left open, followed all the same instructions above again without any plugins. We're still stuck in the git tab:

 

0

Please try to run "File | Manage IDE Settings | Restore default settings".

0

The nuclear option will have to wait, I cant remember what i changed to have my IDE setup the way i use it for work, and I don't quite have the time to mess around playing spot the difference with PyCharm and the rest.  I'll have to live the the commit dialogue where it is.

Safe to say the editor options and plugins have worked fine for a year or more, and PyCharm, RubyMine and WebStorm all have mostly the same plugins and settings and seem to be doing just fine. 

I'll reply to this maybe over the weekend if i feel brave enough to zero everything, next step would be re-installing too :P 

0

Strange thing is that "Use non-modal" doesn't keep its state. Could you please try to change it directly using "Preferences | Version Control | Commit" and restart IDE. Will it keep set state or reset again?

0

The checkbox in Preferences | Version Control | Commit, and the actual behavior of the commit box, remembers the state when restarting the IDE yep, tried it both ways just in case. 

0

Am I got you right that enabled/disabled state is properly kept between restarts but it doesn't affect commit window?

0

No it does effect the commit window, either as a window or as docked into the git tab, and the checkbox state persists, and the behavior persists accordingly.

0

So, you have commit window as a separate window, right? Now you need to change its view mode using grey cog wheel.

0

I have the same problem. IntelliJ IDEA 2021.3.2 (Ultimate Edition)

0

It's very bad. Had to restore default settings and took a long time to restore my custom settings...

0

Am I got you right that "Use non-modal" option didn't move commit to separate window but kept it inside Git tool window?

0

 IntelliJ IDEA 2022.1 (Community)

When I press the commit button in a non-modal, Git does not commit the changes..

0

Kononovayu Please check the logs for exceptions and submit a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with the logs attached (Help | Collect Logs and Diagnostic Data).

0

for windows

stop intellij

Go to, C:\Users\<UserName>\AppData\Roaming\JetBrains\<Idea Version>\options.

Delete the file named advancedSettings.xml or, open it and remove the property <entry key="show.diff.as.editor.tab" value="false" />, save the file

start intellij

 

1

Nileshpatel Ksy Settings (Preferences on macOS) | Advanced Settings | Open Diff as Editor Tab does the same.

0

Nileshpatel Ksy  I don't have such a file and I didn't delete it...

0
 
Thank you, Nileshpatel Ksy

for windows

stop intellij

Go to, C:\Users\<UserName>\AppData\Roaming\JetBrains\<Idea Version>\options.
Delete the file named advancedSettings.xml or, open it and remove the property <entry key="show.diff.as.editor.tab" value="false" />, save the file
start intellij
 
It worked for me.
1

Hello guys,

Finally, I found the solution: 

File - Settings - Advanced Settings - Version Control - Open Diff as Editor Tab.

Hope this can help you!

 

国内的兄弟们,看图就行,右下角是我CSDN的水印,没盗图。

4

Please sign in to leave a comment.