syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.71k stars 4.9k forks source link

Helm-posframe seems to break completely the display on the terminal. #16644

Closed blaa closed 2 weeks ago

blaa commented 2 weeks ago

If you are posting about a bug please close this issue and open a new one from within Spacemacs using:

ANYWAY:

Description :octocat:

helm-posframe in new spacemacs completely wrecks the terminal (emacs -nw) each time it's called. It also ignores the controlling variable, maybe because there's a typo in packages.el: (helm-posframe :toogle helm-use-posframe) note the oo instead of og.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: SPC SPC breaks the display.

Expected behaviour: :heart: :smile: Like it was before - working. ;) I think it should not be default if it breaks the terminal/SSH users. Should be documented in README and possible to disable. helm-posframe on github looks really abandoned BTW, with calls for new maintainer. Maybe it should not be used at all?

System Info :computer:

svenpanne commented 2 weeks ago

... and even when it work's, it makes the UX horrible. Try e.g. M-m s p (a project-wide smart search), and you get that ridiculously small frame in the middle, making the search results basically unreadable due to tons of line wrapping. The same happens for basic stuff like e.g. C-x b, the buffer list is unreadable, too, because of heavy wrapping.

IMHO it's OK to leave that package in Spacemacs, but the default should definitely be "off", as it breaks far too many things.

svenpanne commented 2 weeks ago

Related question: How can the new feature be disabled in the config file?

 (helm :variables helm-use-posframe nil)

doesn't seem to have any effect.

blaa commented 2 weeks ago

Related question: How can the new feature be disabled in the config file?

 (helm :variables helm-use-posframe nil)

doesn't seem to have any effect.

You need to fix the typo in packages.el for helm - toogle to toggle. As stated in my report.

svenpanne commented 2 weeks ago

Sorry, I didn't read your report closely enough. So in a nutshell: When the typo is has been fixed, we get the right default, i.e. the new feature is off. :smile:

jaeyeom commented 2 weeks ago

The fix is already here. Review is pending.

https://github.com/syl20bnr/spacemacs/pull/16645