Sublime Forum

ColorHelper 2.0.0

#68

@prmaple Apparently my windows machine was not up to date and I was still on 3118. I upgraded to 3119 and now I have distorted images like you have. So this is a bug in Sublime Text.

0 Likes

#69

I meant 3120. Sublime doesn’t seem to notify people about 3120. But when I upgraded, I got the issues.

0 Likes

#70

I have the issue on 3119 as well. It is Windows specific.

0 Likes

#71

:joy: now I just need to wait for ST to fix it! Yay!

0 Likes

#72

I know. 3119 is a huge improvement in the CSS engine. It has better inheritance and such. You can actually use .class1 .class2, so you can actually use divs as wrappers for styling specific stuff. But, with so much good stuff, comes bugs. Inline background colors don’t line up right. Weird Windows image distortion etc. Despite the bugs, I am very excited about minihtml getting some love.

With all that said, it works great on my Mac, just wished it worked better on my Windows box.

0 Likes

#73

Satisfy Dependencies does nothing again

  • ST ver.: 3120
  • Platform: windows
  • Arch: x64
  • Plugin ver.: 2.1.0
  • Install via PC: True
  • mdpopups ver.: 1.9.1
  • markdown ver.: 2.6.6
  • pygments ver.: 2.1a0
  • jinja2 ver.: 2.8

in the console after running Package Control: Satisfy Dependencies:

Package Control: All dependencies have been satisfied

lies! I guess if this is going to be a common occurrence, you might want to take a look at the Package Control code @facelessuser and fix it once and for all :wink:

0 Likes

#74

I’ve resolved a few PC issues recently, and have a few related to dependencies (including looking into why upgrades aren’t happening) left before I cut the next beta.

3 Likes

#75

Man, I don’t have time for that :slightly_smiling:.

Even easier, I’m just going to start telling people to remove mdpopups, then run Satisfy Dependencies. It will update for sure then :slightly_smiling:. But it looks like @wbond is on it.

1 Like

#76

@facelessuser and @Equinusocio
I wrote to you both since I’m sure which one is the right man for the job :slightly_smiling:

I used pretty extensively CH with my fav theme (Material Theme, ofc) and now I’m wondering if it is possibile to modify a behavior that seems hard coded.

The color thumb appears just before the color name/code, e.g.:

when you modify a color this sort of visual glitch happens:

Not a big deal but it annoys your visual focus on the string you are currently writing, I believe it would be better if the thumb appears after the color code.

I guess it depends on the actual CSS of the phantoms which is chosen in part by CH and in part by MT (as you wrote before in the thread) but I’m pretty noobish about sublime plugin/themes so… is there a way for me to change the position of the thumbs or it is something that depends on some changes to the packages?

1 Like

#77

@kaosmos, the position of the preview is not related to CSS, but is a hard coded choice I made in the ColorHelper code. I think when I first did it, I had it after, but now I do it before. Currently I only offer the default display of the preview.

0 Likes

#78

@facelessuser thank you for the very fast answer!
I think it is slightly better (usability-wise) to have it after but (of course) I can absolutely cope with it.
Just in case I take some time to study and I change it, do you accept pull requests on this kind of things?

0 Likes

#79

The problem is that some like it before and some like it after. I either need to support both, or one way. I like the current method because the color is actually within the text region containing the color text and simplifies logic. Putting it after places it outside the text region of the color. I also like that in situations where you have multiple color keys, regardless of the whether you use rgb or hex or whatever, the previews line up nicely.

It is really a personal preference thing. I’m certain there are convincing arguments to do it either way. The question is more, do I want to support multiple ways, and I am not sure if I do or not.

0 Likes

#80

I see your points and fully understand them.
But still I’m hoping that you change your mind about it :wink:

0 Likes

#81

Well, I haven’t said no ;).

1 Like

#82

I am regularly running into problems like this. The color phantom gets doubled. In the last line, some of the phantoms are still showing the previous color. Still trying to pin down when exactly it happens but already wanted to mention it. My infos are below.

  • ST ver.: 3120
  • Platform: osx
  • Arch: x64
  • Plugin ver.: 2.1.1
  • Install via PC: True
  • mdpopups ver.: 1.10.0
  • markdown ver.: 2.6.4
  • pygments ver.: 2.1a0
  • jinja2 ver.: 2.8
1 Like

#83

I have actually seen this on rare occasions. I haven’t yet pinned it down yet. I am not a web developer, so I don’t use ColorHelper as much as web developers, so I imagine they have seen this issue more than me.

But I am aware. I imagine it is some kind of race condition.

0 Likes

#84

Yes, pleasy fix the bug which posted by @greg_hoch
I spend daily 8-12h in Sublime Text, and this bug is really iannoying…

0 Likes

#85

Yes, pleasy fix the bug which posted by @greg_hoch
I spend daily 8-12h in Sublime Text, and this bug is really iannoying…

Yeah, well, when I get time, I will look into it. I am a busy man. It is on my list though.

0 Likes

#86

If anyone can come up with an easy way to force a view into this weird state that causes colors to double, let me know. The one thing keeping me from fixing this is reproducing the issue. I have seen it, but being unable to easily force the issue, it makes it hard for me to keep the bug going long enough to figure out what is causing it.

0 Likes

#87

Very much appreciate the time you spent with this (and all the other ST3 stuff)!

I run into the problem a lot but haven’t been able to pin it down and it doesn’t seem to be easy. I will try to be more focused. Might take a little though because it always depends on what I am working on. Will certainly post here.

0 Likes