-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parinfer sporadically causes window maximization when opening file requiring changes #98
Comments
Thanks for reporting. I have not experienced this bug, nor heard any other reports of it. But sounds like something worth investigating. Have you isolated this down to atom-parinfer specifically? Could it be another plugin causing this behavior? |
I wasn't 100% sure it was parinfer, but it was only triggering alongside the parinfer dialog prompting to fix a poorly-formatted file. I also could not reliably reproduce the problem even with the same exact file contents across different Atom sessions. Anyway, I haven't been able to reproduce the problem since upgrading to 1.22, so I'm going to mark it as closed for now. If I see the problem again I'll try to get more info. |
I guess I spoke too soon. It's back. And I can somewhat reliably reproduce, and have verified that it happens only when parinfer is enabled, and will happen when only parinfer is enabled. The source file in question is a |
OK, I have an example that, at least right now, with a bare Atom except for Parinfer, is causing Atom to maximize its window every time I open the file. This is at (ns user
(:require [mount.core :as mount]
(defn start []
(mount/start)
)
(defn stop []
(mount/stop)
)
(defn restart [])
Yes the file is missing an unbalanced paren, and yes the parens that are in there are hanging. |
I experienced this bug today! Or at least a similar bug. Steps:
My hunch is this is something involving the Atom API. Not this extension. But still worth investigating. |
Sometimes when opening a clojure file in Atom that does not conform to the parinfer standards, while the dialog "parinfer needs to change this file", Atom will maximize the window. This is supremely annoying. It doesn't happen at other times.
I'm still figuring out how to reproduce this exactly, and I've only noticed this when dealing with co-workers' source who don't use Parinfer, so I can't provide a "known triggering file". I'm wondering if you've seen/heard of this bug before.
The text was updated successfully, but these errors were encountered: