chat styles doc

About usage, announcement and development of chat styles for RetroShare

Re: chat styles doc

Postby defnax » Mon Jun 04, 2012 9:07 pm

not found yet, why not works,
the background images wont loud.
User avatar
defnax
Site Admin
 
Posts: 446
Joined: Fri Oct 24, 2008 10:28 pm

Re: chat styles doc

Postby tkp » Tue Jun 05, 2012 10:51 pm

could it be this bug ?
tkp
 
Posts: 12
Joined: Tue May 01, 2012 12:31 am

Re: chat styles doc

Postby defnax » Thu Jun 07, 2012 8:59 am

not sure,
but background images works via stylesheets on QTextEdit.
User avatar
defnax
Site Admin
 
Posts: 446
Joined: Fri Oct 24, 2008 10:28 pm

Re: chat styles doc

Postby thunder2 » Thu Jun 07, 2012 10:55 pm

Hi tkp,

after debugging the Qt sources I found the solution.
The problem is the handling of the path in QUrl without specifying a scheme. All charachters before ':' are handled as scheme (http, file, ...).
Under Windows the path looks like "C:/RetroShare/..." and the scheme of the translated QUrl is "C". The rest after ':' is used as filename. Thats wrong.

The solution for the problem is, you have to use "file:///%style-dir%/" as path within "url()".
I checked it under Windows and Linux.

Thunder
thunder2
 
Posts: 30
Joined: Thu Apr 08, 2010 12:06 pm

Re: chat styles doc

Postby Imanuel » Fri Jun 08, 2012 12:04 pm

I think it would be best to include the "file://" in the %style-dir% replacement, so no user would have to take care of it.
Imanuel
 
Posts: 33
Joined: Fri Jun 03, 2011 7:17 am

Re: chat styles doc

Postby defnax » Fri Jun 08, 2012 12:29 pm

hi,

thanks it works now :D
User avatar
defnax
Site Admin
 
Posts: 446
Joined: Fri Oct 24, 2008 10:28 pm

Re: chat styles doc

Postby tkp » Fri Jun 08, 2012 1:43 pm

Great news ! thanks thunder2 !

Imanuel wrote:I think it would be best to include the "file://" in the %style-dir% replacement, so no user would have to take care of it.


If there is no drawback it could be a clean solution..
tkp
 
Posts: 12
Joined: Tue May 01, 2012 12:31 am

Re: chat styles doc

Postby thunder2 » Fri Jun 08, 2012 10:08 pm

Imanuel wrote:I think it would be best to include the "file://" in the %style-dir% replacement, so no user would have to take care of it.

Good idea.
It's changed in revision 5206.
thunder2
 
Posts: 30
Joined: Thu Apr 08, 2010 12:06 pm

Re: chat styles doc

Postby defnax » Tue Jun 12, 2012 9:28 am

hi tkp,
can you generate for incoming and outgoing
blue and green bubbles?
i doesnt know how to split that svg image

Edit:
it works :-)
User avatar
defnax
Site Admin
 
Posts: 446
Joined: Fri Oct 24, 2008 10:28 pm

Re: chat styles doc

Postby tkp » Wed Jun 13, 2012 11:26 pm

defnax wrote:Edit: it works :-)


too quick !! :)
tkp
 
Posts: 12
Joined: Tue May 01, 2012 12:31 am

Previous

Return to Chat styles

Who is online

Users browsing this forum: No registered users and 1 guest

cron