[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [Kopete-devel] [Bug 73571] chatwindow style lost on upgrade
From:       Duncan Mac-Vicar Prett <duncan () kde ! org>
Date:       2004-02-18 13:44:05
Message-ID: 20040218134405.20554.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=73571      




------- Additional Comments From duncan kde org  2004-02-18 14:44 -------
his bug was hard to figure.

I noticed my brother got the problem after upgrading KDE's gentoo (notice KDE 
path changed from /usr/kde/3.1 to 3.1)

I checked my kopeterc and noticed opening the style selector didn't selected 
any style, but my chat windows works fine. So I noticed my kopeterc pointed 
to a stylesheet of a old KDE install I have in /home/kde (*sigh*)

My brother uninstalled old 3.1 thats why it had the problem. So yes, we are 
storing the entire absolute path. The selector makes a string comparision, 
but if you change KDE install path, it will fail, baceuse it compares 
absolute pathnames so it will not select any style.

When you save, the selector calls setStylesheet with a null value, which 
doesn't have a fallback to default until now (I added one). It would be nice 
to know how feasible is to use relative paths in the future. Thanks to the 
fallback it will work always now. All entry points are checked, but the use 
of absolute stysheet locations makes me feel we can do it cleaner.

Duncan
_______________________________________________
Kopete-devel mailing list
Kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic