A couple of glitches with css in WB (last update)

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

A couple of glitches with css in WB (last update)

Post by notuo »

Hi. I don't know if this happens in other builds but here are my comments:
  • Making a new css document within a project but no saving it yet. I started with a .test {background:

    I received the options menu and choose url, Fine but

    I then typed a SPACE and nothing, no more options.
  • The file I choose (even is in the same project was listed in the css as C:/xampp/htdocs/project/images/img.jpg as the css is not saved in the project yet.
  • If I have this type of background statement:

    .test { background: url(../images/bg.png) no-repeat bottom center }

    If I am in the inspector It shows wrongly. The bottom center is in several rows instead of one.
No big deal but somehow is weird. If anyone else confirm this will be fine.

Regards,
davenz

Re: A couple of glitches with css in WB (last update)

Post by davenz »

I can confirm that the behaviour as you describe it here happens on my setup as well, however I have a couple of points to add.

Keep in mind I'm not a coder and I may be way off-base here; I may also be totally misunderstanding what you are saying, but if I was writing a style sheet (as an aside it makes no difference if it is saved or not or in the project folder or not), I would use the way you have written your CSS statement more for an inline style rather than for use in a stand-alone style sheet. When I create a style sheet, for clarity I put everything on a different line, which again I stress I am not saying is the absolute right way to do it, it is just the way I like to do it. Like I said, I wouldn't know if this is correct or not, it is just my opinion. However, in support of this, doing things this way also makes more sense because of the way WeBuilder formats it in the inspector. It doesn't put every rule on the same line (except in the main heading for each selector) because it has a separate line for each rule and each rule is assigned its own line. Refer to my image below; it is easy to see background-repeat is set to no repeat; background position is bottom and background image is centred. If you look at the background selector heading though, you'll see everything is included in that line, there just isn't room to see all of it unless you drag the borders out like I have here for the sake of clarity.

I agree that it is not that useful to have autocomplete not available once the selector and rule has been written, however, if you put a ; after each line and begin a new selector and rule on another line, the autocomplete does work again, which I am guessing is how it was intended to work in WeBuilder with style sheets.

Of course, I might also be full of it and not know what I am talking about so just ignore me if that's the case - it is the only explanation I can think of to explain the behaviour of the editor.

Image

Dave
davethompson.co.nz
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: A couple of glitches with css in WB (last update)

Post by Gatis »

Hi,

thanks for details.
Dave, I think there is a problem in the inspector, because it has added the URL to the color field in inspector, and it is not right. We will try to improve this.
As for the problem where autocomplete is not available. Sorry, but I could not reproduce.
I then typed a SPACE and nothing, no more options.
If I have

Code: Select all

a .test { background: url(../images/bg.png)
then I can still see auto-complete items after I press SPACE.

Kind regards,
Gatis
Kind regards,
Gatis Avots
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: A couple of glitches with css in WB (last update)

Post by notuo »

@davenz

I also use a standalone file for the CCS file. And in this example I was using it, but I guess for the exercise is the same. No reason can't be. But is only a preference as you mention.

Thanks for confirming my point. I just made a movie to show this behavior (link follows). The weird thing is now I can see the inspector well formed but when I post for the first time I got the same thing as your picture (When happens again, I'll post a picture as well). I can only "blame" this is a fresh started WB and the other day I had it running for quite a while.

The thing (as you can see in the movie) is: there is a different behavior if the new css file is saved or not regarding the drop down.

As always Dave (back from the namo days) your comments are more than welcome, no worries for that.

@gatis

Take a look at the movie. Maybe after that you can reproduce yourself this.

Or maybe it's me only. :lol:

Here is ht link: http://ims.mx/blumentals/wb-issue.htm
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: A couple of glitches with css in WB (last update)

Post by Aivars »

notuo wrote:
Here is ht link: http://ims.mx/blumentals/wb-issue.htm

I'm not Webuilder programmer but I watched the movie out of curiosity. I think the different image paths before and after saving make a lot of sense - if the file is saved, WeBuilder can calculate the relative path of image in regard to the saved file; if the file is not saved, Webuilder has no idea where you plan to save it and thus must use the full path.
Blumentals Software Programmer
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: A couple of glitches with css in WB (last update)

Post by notuo »

Aivars wrote: I'm not Webuilder programmer but I watched the movie out of curiosity. I think the different image paths before and after saving make a lot of sense - if the file is saved, WeBuilder can calculate the relative path of image in regard to the saved file; if the file is not saved, Webuilder has no idea where you plan to save it and thus must use the full path.
Yes, that's correct, but, that's why I complain in the movie. If I create a file and I am using a project, the file MUST be created in the project, unless I explicitly save it in another place (and maybe after the save, recheck the paths in there to solve any folders thing). Now, with this behavior I have to create the file, then save it and then proceed to fill in. No big deal as well. I am opening a new thread with to vote on this.

Also, that is not the glitch I mentioned, the issue with WB is: after I use (in this example, the background property for an css file) and then after the url, the dropdown menu is lost until a semicolon is inserted. This is the first problem. The other is what davenz pictured.

:)
davenz

Re: A couple of glitches with css in WB (last update)

Post by davenz »

Hi notuo

Excellent movie and a clear indication of the behaviour you mention. Mine behaves exactly the same, with the dropdown working and not working in the same instances as yours. Maybe its a Windows 7 thing? Either way, I can live with it, though as Gatis pointed out, the inspector put a URL in the colour field so something is a little off there. Regardless of the quirks, I find this such a good editor I am willing to work around these things because I haven't found anything else I can use that I like better. None of the quirks are a show-stopper and the beauty of all this is the developers actually listen and implement those ideas that benefit the software as a whole. The support here and the relationship between the devs and users is excellent and couldn't be further from what I/we experienced with Namo and their so-called support. I made the right choice at the end of the day.

As for CSS previewing, aside from any minor issues, most other editors I've looked at don't preview our own CSS file, but simply show a default file with no relation to our styles at all, which is a waste of space. In every other editor but a couple, when adding a class to an html file, classes are not picked from our CSS file either, which is also lame. These two features alone makes WeBuilder worth the sticker price.

As for Namo, those were good times (aside from their shocking lack of support and contact with their clients) and I made some good friends in that forum, one of whom I have visited in Spain and another I'd love to visit in Holland. Namo really ruined that editor, though having to change was the best thing for me because it forced me to learn html and while I'm still not that good at it, I am getting there slowly. It's great to see you are still around and doing the business too.

Dave
davethompson.co.nz
User avatar
mapleleaf
Posts: 121
Joined: Thu Oct 14, 2010 2:21 am
Location: Ashcroft, BC Canada
Contact:

Re: A couple of glitches with css in WB (last update)

Post by mapleleaf »


OK, we all have our own wish list BUT let's also be fair and realize that for the cost of WB is well worth it. If we want more bells and whistles then the cost would just like the government the more we want from them the more taxes we pay.

I'd be very interested in seeing how the CSS transitions and transformations be handled by WB.
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: A couple of glitches with css in WB (last update)

Post by Gatis »

Thanks notuo for the movie.
The auto-complete indeed did not work after the URL, because there is semicolon in the URL string. This is a bug, and it will be fixed with next version. Also the Inspector will work better - the URL will show up where it must be.

As for the default path. I can understand this request, we have received it before. Thank you for posting a topic to discuss that. Once we gather more feedback, the change might be implemented in the end

Kind regards,
Gatis
Kind regards,
Gatis Avots
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: A couple of glitches with css in WB (last update)

Post by notuo »

Thanks you all for you comments and the developers to fix this when appropriate.

This is what Dave talked about before and we always new and expect.

You guys listen, and this is the best value this company has.
Post Reply