-
Notifications
You must be signed in to change notification settings - Fork 64
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
Massive scroll bar #44
Comments
I have exactly same problem. I was unable to reproduce it in more vanilla emacs config, but changing this line Line 580 in 6e047e6
to this '((side . right) (window-width . 0.1))))) sets width of scrollbar reliably to 32 pixels. |
same issue here, @AloisJanicek changing "side window-width" to 0.1 doesn't help, but it seems harder to reproduce with 0.1 width. Now I totally remove the scrollbar... |
How do you fully disable the scrollbar? Can you show the hack code? @smallzhan |
@forrestchang please refer to the gist here https://gist.github.com/smallzhan/4f8a558790133d269d5658ea85d50bf1 detailed modification: |
I still have the scrollbar whereas I copied @smallzhan's gist I use doom and I replaced My info:
|
@Majenful you should remove the |
I'm still got this issue. Seem no update on company-box anymore. Is there anyone want to maintain a fork? |
Since the problem persists despite the earlier window-width fix. Fixes sebastiencs/company-box#44
Since the problem persists despite the earlier window-width fix. Fixes sebastiencs/company-box#44
For me, setting |
I think ce8f569 might fix the issue. If anyone can test |
7c05cfd might fix that issue too |
I can confirm that the fix doesn't work for me. I also tried disabling golden-ratio-mode and when opening a company-box buffer I still see the issue. |
@graphcareful Can you please share some information about your configuration. |
Hi , I am using spacemacs, on Fedora 32, default window manager gnome3. I am configuring company-box like this: I am not sure how company-* and autocomplete-* are supposed to work together. At first I suspected maybe two packages had conflicting configurations, but then I came here and noticed others having the same exact problem. I will try to replicate with a base spacemacs configuration. |
@graphcareful I just installed spacemacs to test, the only modification I made is: .spacemacs | 3 ++-
modified .spacemacs
@@ -37,6 +37,7 @@ values."
;; <M-m f e R> (Emacs style) to install them.
;; ----------------------------------------------------------------
helm
+ (auto-completion :variables auto-completion-use-company-box t)
;; auto-completion
;; better-defaults
emacs-lisp
@@ -54,7 +55,7 @@ values."
;; wrapped in a layer. If you need some configuration for these
;; packages, then consider creating a layer. You can also put the
;; configuration in `dotspacemacs/user-config'.
- dotspacemacs-additional-packages '()
+ dotspacemacs-additional-packages '(company-box)
;; A list of packages that cannot be updated.
dotspacemacs-frozen-packages '()
;; A list of packages that will not be installed and loaded. I then ran So there is a package or customization that cause this issue. |
@graphcareful Can you please set (setq company-box-debug-scrollbar t) |
You beat me to it :) was about to do the same thing. Yes, i'll try to find the offending package and paste the logs when I find. |
So I tried to emulate your exact settings and I am still seeing the issue. try scrolling down with page down when there are many items to replicate. Here are some of the logs you requested. They appeared when I am seeing the issue: `[SCROLL] SELECTION=0 BUFFER= company-box-27263302-scrollbar H-FRAME=170 N-ELEMENTS=333 PERCENT=0.0 PERCENT-DISPLAY=0.03003003003003003 SCROLLBAR-PIXEL=5.105105105105105 HEIGHT=SCROLLBAR=0.3003003003003003 BLANK-PIXELS=0.0 HEIGHT-BLANK=0.0 FRAME-CHAR-HEIGHT=17 FRAME-CHAR-HEIGHT-NO-FRAME=17 FRAME=#<frame 0x69de800> MUL=5661 [2 times] [SCROLL] SELECTION=10 BUFFER= company-box-27263302-scrollbar H-FRAME=170 N-ELEMENTS=333 PERCENT=0.030120481927710843 PERCENT-DISPLAY=0.03003003003003003 SCROLLBAR-PIXEL=5.105105105105105 HEIGHT=SCROLLBAR=0.3003003003003003 BLANK-PIXELS=4.96671370165346 HEIGHT-BLANK=0.2921596295090271 FRAME-CHAR-HEIGHT=17 FRAME-CHAR-HEIGHT-NO-FRAME=17 FRAME=#<frame 0x69de800> MUL=5661 |
@graphcareful Thanks ! Your issue seems different than the others
The logs you shared seem correct so we probably need to dig a bit more |
In this stripped down config that only has autocomplete-mode and company-box installed...
|
@graphcareful Thank you for the detailed answer. It looks like to be an emacs bugs, or an issue with your window manager and/or compositor: Can you try to set 2c35a72 might fix your issue, but I don't put much hope on it. I tried the branch feature/nativecomp but I failed to used it with spacemacs, getting lots of errors like syl20bnr/spacemacs#13957 |
@sebastiencs ok i'll try without nativecomp as well |
For me it's the same issue as described here tumashu/company-posframe#2. Setting |
Not sure how to reproduce though
The text was updated successfully, but these errors were encountered: