Latest messages

20 topics, 58 messages
Kuix bug report » CSS with urls having / are ignored

Temporarily, you can double the /. Like :

desktop {
    bg-color: #003d3d;
    bg-image: url( //mainbg.jpg );
    color: white;
}

Kuix bug report » CSS with urls having / are ignored

Any url with aboslute path is failing..

desktop {
    bg-color: #003d3d;
    bg-image: url( /mainbg.jpg );
    color: white;
}

this would get converted to /img/mainbg.jpg

On further source code view (Kuix.java).. I see the line where it says all / chars are ignored..

if (c == '/')
   { // Caution that all '/' character are ignored
       if ((c = reader.read()) == '*')
       {
    commentCapture = true;
    c = reader.read();
    continue;
       }
   }

Any inputs on why this is being ignored..

Regards,

Raja Nagendra Kumar,
C.T.O
www.tejasoft.com

Kuix bug report » CSS url values not trimmed

Quick look at the code shows that issue is in StringUtil

 

public static String extractRawParams(String prefix, String rawData) {
  if (rawData.startsWith(prefix)) {
   int posStart = rawData.indexOf(prefix + "(");
   int posEnd = rawData.indexOf(")");
   if (posStart != -1 && posEnd != -1 && posStart < posEnd) {
    return rawData.substring(posStart + prefix.length() + 1, posEnd);
   }
  }
  return null;
 }

May be the value returned should be trimmed..

 

Kuix bug report » CSS url values not trimmed

Interesting.. not sure what else is going wrong with space in these places then..When we remove space from above areas it works fine..

it says bad border-image etc.. May be it has assumption of no spaces in each of the attribute etc..

Kuix bug report » CSS url values not trimmed

To simplify the parsing code, the parser first split on space and after it check each token ... then it couldn't manage space in tokens.

Kuix bug report » CSS url values not trimmed

Other cases are

 

bg-image: url(rb.png,0,0,13,13 );

border-image: url(m.png,0,0,59,46,mirror ) 10 10 10 14;

Observe the space before end bracket

Kuix bug report » CSS url values not trimmed

in CSS the values     border-image: url( m.png ) 10 14 10 10;
    bg-image: url( bg.png );
would look for image with SPACEbg.png SPACEm.png and it reports that it could not fine

/img/ bg.png etc..

May be good to support the trim of the value in url as CSS has such support

Kuix bug report » ondestroy: Uncaught exception java/lang/IllegalArgumentException: KuixCanvas not initialized.
Yes, this bug was fixed on the SVN.
Kuix bug report » Error with Spanish Internationalisation

You need to switch the encoding of your .properties file into UTF-8. The way to do it depends of your Editor.

Kuix bug report » ondestroy: Uncaught exception java/lang/IllegalArgumentException: KuixCanvas not initialized.

I'm trying out the lates application and then closing app in and calling Dwayze.getDefault().destroyImpl();

result in following error:

java.lang.ArrayIndexOutOfBoundsException: 1 >= 0
Uncaught exception java/lang/IllegalArgumentException: KuixCanvas not initialized.
        at java.util.Vector.removeElementAt(Vector.java:511)
        at org.kalmeo.util.worker.Worker.run(Worker.java:148)

Kuix bug report » Error with Spanish Internationalisation

Can you explain me how?

Kuix bug report » Post your bug reports on the Tracker

You can now post your bug reports on the Kuix Tracker.

Simply click on New ticket and enter you Bug or Feature request.

Kuix bug report » SecondMenu removing MenuItem

this is greate!

Kuix bug report » SecondMenu removing MenuItem

This bug was fixed on SVN.

And a new feature was added to change dynamicly menus at runtime : Kuix.loadMenuContent(Menu, String, DataProvider).

To change ScreenFirstMenu content, simply do something like this :

Kuix.loadMenuContent(myScreen.getFirstMenu, "myMenu.xml", null);

Kuix bug report » SecondMenu removing MenuItem

I have explained the couse of it in the last post in the thread

http://www.kalmeo.org/forum/topic/187/secondmenu-widget-won-t-hide/1