Idea-gitignore: Bug is back: Popup saying that ignored files are in .gitignore

Created on 14 Oct 2017  路  16Comments  路  Source: JetBrains/idea-gitignore

Prerequisites

  • [x] Plugin is in the latest version
  • [x] Issue was not reported yet
  • [ ] Stack trace (if provided) contains mobi.hsz.idea.gitignore package name

Description

Whenever I open a project, there's a message saying <>

Steps to Reproduce

  1. Open a PHPStorm project

Expected behavior:
I expected the popup to appear only when appropriate and list the files that are tracked and in .gitignor

Actual behavior:
Empty dialog opens.

Reproduces how often:
Every time

Versions

Plugin:
2.2.2

IDE:
PhpStorm 2017.3 EAP
Build #PS-173.3188.26, built on October 11, 2017
PhpStorm EAP User
Expiration date: November 10, 2017
JRE: 1.8.0_152-release-1024-b5 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.1

OS:
10.13.1

Additional Information

bug ready for release

Most helpful comment

This bug was recently fixed in https://github.com/hsz/idea-gitignore/issues/400 and is now back in 2.2.2

All 16 comments

This bug was recently fixed in https://github.com/hsz/idea-gitignore/issues/400 and is now back in 2.2.2

I'm getting that same behavior every time I open my project (which takes me to the empty dialog):
screen shot 2017-10-18 at 10 41 11 am

Plugin version:
screen shot 2017-10-18 at 10 40 30 am

Intellij Idea version:
screen shot 2017-10-18 at 10 41 40 am

@svenbergryen Thank you for this report. Issue was very weird and related to the IntelliJ API:
ConcurrentWeakHashMap map object was randomly cleared.

I've also changed the popup type from _warning_ to _information_.

@hsz I recently updated to 2.3.0 and still see this issue in PyCharm.

@daneah You mean that still empty dialog is displayed?

@hsz that's correct:

screenshot 2017-11-06 11 10 08

Same here - it's coming up again for all of my projects. IDEA 2017.2.5, .ignore 2.3.0

Confirmed, .ignore 2.3.0 PHPStorm 2017.2.4

Confirmed, .ignore 2.3.0 PHPStorm 2017.2.4

Same here

This bug still appears as of PyCharm 2018.1 and the latest version of this plugin.

Same here:

IntelliJ IDEA 2018.2.3 (Ultimate Edition)
Build #IU-182.4323.46, built on September 3, 2018
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.14.68-1-MANJARO

image

I am also seeing this issue.

I consider this bug a major thing, since the longer it is not fixed the more will people get used to ignoring this popup until it renders the plugin useless...
Is there anything we can do to support a fix for this?
I'm willing to spend money for getting this fixed.
Let's be more precise: 20 EUR from me via paypal for whoever fixes this bug.

This feature will be disabled with v3.1.0

I would love to understand your decision.

@karfau Sure, this popup was generating a false-positives in many cases and - as you mentioned - was ignored by the users. Annoying popup lead users to simply disable notifications.

In addition - triggering the git command rm --cached --force {path} may be a bit dangerous especially when Project.getBaseDir has been deprecated in IDE SDK (https://github.com/JetBrains/intellij-community/blob/master/platform/core-api/src/com/intellij/openapi/project/Project.java#L44) - files location may be a bit different than expected (multiple modules).

Was this page helpful?
0 / 5 - 0 ratings