Re: QT4.6 with PR1.2 has introduced issues

2010-05-28 Thread Daniil Ivanov
Hi Ram!

  Screenshots do not say anything.
  Without seeing the code it's not possible to say if it's because of
  problems with the way how you constructed layouts of the widgets
  or with Qt styles.

Thanks, Daniil.

On Thu, May 27, 2010 at 11:26 PM, Ram Kurvakat rkma...@gmx.com wrote:
 Hello,

 I have seen a few issues with the QT 4.6 version released with PR1.2.

 I've been using QT4.6 since PR1.1 and there seems to be these annoying
 changes since.

 I've provided some links to marked images to explain the issue so its easier
 to comprehend.

 Issue1 : http://bit.ly/cYPtRW

 Issue2 : http://bit.ly/cPjtAG

 Issue3 : http://bit.ly/a5E4sk

 Could somebody please throw some light on these issues since it appears in
 all development Ive done using QT4.6 from PR1.1.

 These changes were totally unexpected and not only that, it seems anything
 than an improvement, maybe even bugs.

 Please do not answer this by saying QT4.6 on PR1.1 was a beta deveopment
 version, in that case it seems then from the examples above the beta version
 was more proper.

 Thanks a lot for any help with this.

 cheers

 --

 krk969

 (Ram)



 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: QT4.6 with PR1.2 has introduced issues

2010-05-28 Thread Robin Burchell
On Fri, May 28, 2010 at 7:25 AM, Daniil Ivanov daniil.iva...@gmail.com wrote:
 Hi Ram!

  Screenshots do not say anything.
  Without seeing the code it's not possible to say if it's because of
  problems with the way how you constructed layouts of the widgets
  or with Qt styles.

Seconding what Daniil says - to try pinpoint your issue (and look for
workarounds or fixes), please produce a minimal testcase.

That is, a *minimal* example (as little code as possible, please!
can't emphasise how important this is) which demonstrates the
incorrect behaviour you are talking about. :)

 Thanks, Daniil.

Best,

Robin Burchell
mob: +447702671419
msn: m...@viroteck.net
irc: w00t @ irc.freenode.net
twr: http://twitter.com/w00teh
lac: http://identi.ca/w00t
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Alternate Line Service (ALS) support

2010-05-28 Thread Pekka Pessi
On Thu, 2010-05-27 at 23:34 +0200, ext Christopher Intemann wrote:
 I have the CPHS service alternate line service activate on my simcard.
 This service features a seperated line with a second number to
 distinguish between business and private calls. On many Nokia
 handsets, one can switch between lines by holding the hash button for
 a few seconds.
 The N900 does not officialy support this service.
 I read somewhere that it was possible to at least receive calls on the
 second line.
 However, when I try to call my phone on the second line, the call will
 not get through.
 Is there any way to acivate the second line on the N900 at least for
 incomming calls?

You can test what the command

dbus-send --system --type=method_call --print-reply=True \
 --dest=com.nokia.csd.SS /com/nokia/csd/ss \
 com.nokia.csd.SS.CheckDivert string:21 string:89

returns. If it does not return error

com.nokia.csd.SS.Error.TeleServiceNotProvisioned: Tele service not
provisioned

you can try to redirect calls to your line 1 number with command

dbus-send --system --type=method_call --print-reply=True \
 --dest=com.nokia.csd.SS /com/nokia/csd/ss \
 com.nokia.csd.SS.RegisterDivert string:21 string:89 \
   string:line1-number-here uint32:0

--Pekka

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


QDBusError UnknownMethod for com.nokia.csd.Call service

2010-05-28 Thread Roman Morawek
Hello,

I am using the Nokia Qt Beta SDK and try to initiate a voice call on
Maemo/N900. Since there is no Qt API for this available, I try this via
the DBus.

Actually I want to mimic the functionality of the following working
shell command:

dbus-send --system --type=method_call --print-reply
--dest=com.nokia.csd.Call /com/nokia/csd/call
com.nokia.csd.Call.CreateWith string:+43123456789 uint32:0


This is what I try:

// DBUS call interface
if (!QDBusConnection::sessionBus().isConnected())
return false;

// initiate call
QDBusConnection connSystemBus = QDBusConnection::systemBus();
QDBusInterface dbusPhone( com.nokia.csd.Call, /com/nokia/csd/call,
QString(), connSystemBus );
qDebug()  connected to bus with result   dbusPhone.isValid();

QDBusMessage reply = dbusPhone.call( CreateWith, +43123456789,
(uint)0 );
qDebug()  call initiated with result   dbusPhone.lastError();


As the output, I get the following error:

connected to bus with result  true
call initiated with result
QDBusError(org.freedesktop.DBus.Error.UnknownMethod, Method
CreateWith with signature su on interface (null) doesn't exist )


What am I doing wrong?
Thanks a lot for your support!

Regards,
Roman
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: QDBusError UnknownMethod for com.nokia.csd.Call service

2010-05-28 Thread Daniil Ivanov
Hi Roman!

  Note that you seems to try to call it on system bus insteado of session bus.

Thanks, Daniil.

On Fri, May 28, 2010 at 3:07 PM, Roman Morawek li...@morawek.at wrote:
 Hello,

 I am using the Nokia Qt Beta SDK and try to initiate a voice call on
 Maemo/N900. Since there is no Qt API for this available, I try this via
 the DBus.

 Actually I want to mimic the functionality of the following working
 shell command:

 dbus-send --system --type=method_call --print-reply
 --dest=com.nokia.csd.Call /com/nokia/csd/call
 com.nokia.csd.Call.CreateWith string:+43123456789 uint32:0


 This is what I try:

 // DBUS call interface
 if (!QDBusConnection::sessionBus().isConnected())
    return false;

 // initiate call
 QDBusConnection connSystemBus = QDBusConnection::systemBus();
 QDBusInterface dbusPhone( com.nokia.csd.Call, /com/nokia/csd/call,
 QString(), connSystemBus );
 qDebug()  connected to bus with result   dbusPhone.isValid();

 QDBusMessage reply = dbusPhone.call( CreateWith, +43123456789,
 (uint)0 );
 qDebug()  call initiated with result   dbusPhone.lastError();


 As the output, I get the following error:

 connected to bus with result  true
 call initiated with result
 QDBusError(org.freedesktop.DBus.Error.UnknownMethod, Method
 CreateWith with signature su on interface (null) doesn't exist )


 What am I doing wrong?
 Thanks a lot for your support!

 Regards,
 Roman
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: QDBusError UnknownMethod for com.nokia.csd.Call service

2010-05-28 Thread Felipe Crochik
This code works for me:

QDBusMessage msg = QDBusMessage::createMethodCall(
com.nokia.csd.Call, // --dest
/com/nokia/csd/call, // destination object path
com.nokia.csd.Call, // message name (w/o method)
CreateWith // method
);
msg  phone_number;
msg  0;
msg = QDBusConnection::systemBus().call(msg);
qDebug()  msg;
return msg.type() != QDBusMessage::ErrorMessage;


Felipe

-Original Message-
From: maemo-developers-boun...@maemo.org
[mailto:maemo-developers-boun...@maemo.org] On Behalf Of Roman Morawek
Sent: Friday, May 28, 2010 8:08 AM
To: maemo-developers@maemo.org
Subject: QDBusError UnknownMethod for com.nokia.csd.Call service

Hello,

I am using the Nokia Qt Beta SDK and try to initiate a voice call on
Maemo/N900. Since there is no Qt API for this available, I try this via
the DBus.

Actually I want to mimic the functionality of the following working
shell command:

dbus-send --system --type=method_call --print-reply
--dest=com.nokia.csd.Call /com/nokia/csd/call
com.nokia.csd.Call.CreateWith string:+43123456789 uint32:0


This is what I try:

// DBUS call interface
if (!QDBusConnection::sessionBus().isConnected())
return false;

// initiate call
QDBusConnection connSystemBus = QDBusConnection::systemBus();
QDBusInterface dbusPhone( com.nokia.csd.Call, /com/nokia/csd/call,
QString(), connSystemBus );
qDebug()  connected to bus with result   dbusPhone.isValid();

QDBusMessage reply = dbusPhone.call( CreateWith, +43123456789,
(uint)0 );
qDebug()  call initiated with result   dbusPhone.lastError();


As the output, I get the following error:

connected to bus with result  true
call initiated with result
QDBusError(org.freedesktop.DBus.Error.UnknownMethod, Method
CreateWith with signature su on interface (null) doesn't exist )


What am I doing wrong?
Thanks a lot for your support!

Regards,
Roman
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: QDBusError UnknownMethod for com.nokia.csd.Call service

2010-05-28 Thread Daniil Ivanov
Hi Roman!

  Sorry, my fault. It should be something like this

QDBusConnection connSystemBus = QDBusConnection::systemBus();
QDBusInterface dbusPhone( com.nokia.csd.Call, /com/nokia/csd/call,
com.nokia.csd.Call, connSystemBus );
QDBusMessage reply = dbusPhone.call( CreateWith, +43123456789,(uint)0 );

Thanks, Daniil.

On Fri, May 28, 2010 at 3:14 PM, Daniil Ivanov daniil.iva...@gmail.com wrote:
 Hi Roman!

  Note that you seems to try to call it on system bus insteado of session bus.

 Thanks, Daniil.

 On Fri, May 28, 2010 at 3:07 PM, Roman Morawek li...@morawek.at wrote:
 Hello,

 I am using the Nokia Qt Beta SDK and try to initiate a voice call on
 Maemo/N900. Since there is no Qt API for this available, I try this via
 the DBus.

 Actually I want to mimic the functionality of the following working
 shell command:

 dbus-send --system --type=method_call --print-reply
 --dest=com.nokia.csd.Call /com/nokia/csd/call
 com.nokia.csd.Call.CreateWith string:+43123456789 uint32:0


 This is what I try:

 // DBUS call interface
 if (!QDBusConnection::sessionBus().isConnected())
    return false;

 // initiate call
 QDBusConnection connSystemBus = QDBusConnection::systemBus();
 QDBusInterface dbusPhone( com.nokia.csd.Call, /com/nokia/csd/call,
 QString(), connSystemBus );
 qDebug()  connected to bus with result   dbusPhone.isValid();

 QDBusMessage reply = dbusPhone.call( CreateWith, +43123456789,
 (uint)0 );
 qDebug()  call initiated with result   dbusPhone.lastError();


 As the output, I get the following error:

 connected to bus with result  true
 call initiated with result
 QDBusError(org.freedesktop.DBus.Error.UnknownMethod, Method
 CreateWith with signature su on interface (null) doesn't exist )


 What am I doing wrong?
 Thanks a lot for your support!

 Regards,
 Roman
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


MADDE 0.6.72 ships system QEMU and N900 PR 1.2 filesystem images

2010-05-28 Thread Tomi Ollila
Hi

I think this interests many maemo developers:

Just released MADDE, version rolled up to 0.6.72
includes system qemu which can be used mostly like
real N900 device with PR 1.2 for software testing and 
development.

Check here where to download it

http://talk.maemo.org/showthread.php?t=54225highlight=madde

And annoucement

http://maemoteam.wordpress.com/2010/05/28/updates-madde-sdk-and-vmware-images/


Follow-up to this thread for issue reporting (or use bugzilla (*) (preferably)).

(*) https://bugs.maemo.org/buglist.cgi?component=madde

Tomi
MADDE developer
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: MADDE 0.6.72 ships system QEMU and N900 PR 1.2 filesystem images

2010-05-28 Thread Robin Burchell
On Fri, May 28, 2010 at 1:52 PM, Tomi Ollila
tomi.oll...@guru.guru-group.fi wrote:
 Hi

 I think this interests many maemo developers:

 Just released MADDE, version rolled up to 0.6.72
 includes system qemu which can be used mostly like
 real N900 device with PR 1.2 for software testing and
 development.

Thanks for the heads up! Great news - I've been waiting for this :-)

Congrats on the release.

Robin Burchell
mob: +447702671419
msn: m...@viroteck.net
irc: w00t @ irc.freenode.net
twr: http://twitter.com/w00teh
lac: http://identi.ca/w00t
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


QtMobility Contacts

2010-05-28 Thread Felipe Crochik
Few questions:

1. I am using the QContactDetailFilter to get a list of contacts on the n900
and it takes very long compared to the standard address book and uses up
all the cpu. I don't have too many contacts on my address book (about 300).
It does not seem to matter the match criteria and/or the number of records
that actually get filtered (it takes about the same time to get all records
or just one). Any similar experiences? Any way to improve on it?

2. Is it possible to get the contact presence status using QtMobility? By
what I found you need to get the QContactOnlineAccountand then supposedly
you would find the QContactPresence using linkedDetailUris on
QContactOnlineAccount but linkedDetailUris does not return any strings. The
contact manager does not seem to support the QContactGlobalPresence detail.
Am I doing anything wrong? How can I find out if the user is online on skype
for example?

Thanks in advance
Felipe

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: QtMobility Contacts

2010-05-28 Thread Antonio Aloisio
Hi Felipe,

1. I am using the QContactDetailFilter to get a list of contacts on the n900
 and it takes very long compared to the standard address book and uses up
 all the cpu. I don't have too many contacts on my address book (about 300).
 It does not seem to matter the match criteria and/or the number of records
 that actually get filtered (it takes about the same time to get all records
 or just one). Any similar experiences? Any way to improve on it?

It's slow and it takes very long time because it convert every OSSO ABook
contact to
QContact then it applies the filters.
Native filtering is not complete so it's turned off.

2. Is it possible to get the contact presence status using QtMobility? By
 what I found you need to get the QContactOnlineAccountand then supposedly
 you would find the QContactPresence using linkedDetailUris on
 QContactOnlineAccount but linkedDetailUris does not return any strings. The
 contact manager does not seem to support the QContactGlobalPresence detail.
 Am I doing anything wrong? How can I find out if the user is online on
 skype
 for example?

 If the contact has not been added manually from the user, the
QContactPresence::FieldPresenceState field should contains the presence
status.
 The QContactGlobalPresence is not yet supported.

Regards,
Antonio

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: QtMobility Contacts

2010-05-28 Thread Felipe Crochik
Hi Antonio, 

 

I am missing some step. Would you be so kind to check the code bellow? I
can't figure out how to find the QContactPresence detail. By the
documentation I assumed linkedDetailUris would give me some hint on how to
get but it didn't .

 

.

details = m_contact.details(QContactOnlineAccount::DefinitionName);
foreach ( QContactOnlineAccount account, details ) {
qDebug()  Online Acount:   account.serviceProvider()  : 
 account.accountUri();
foreach ( QString str, account.contexts() ) qDebug()   Context:
  str;
foreach ( QString str, account.capabilities() ) qDebug()  
Capability:   str;
foreach ( QString str, account.linkedDetailUris()) qDebug()  
LinkedDetailUri:   str;
foreach ( QString str, account.subTypes()) qDebug()   SubType:
  str;

// how do I get the QContactPresence detail?
// .
QContactPresence presence;
qDebug()  Presence:   presence.presenceState();
}
 

 

The linkDetailUris, capabilities, contexts and subtypes seem to always be
empty for my contacts. Is there a way to check to check for the contact
manager if the field is supported? Just to make sure to not expect for it. 

 

Thanks again

Felipe

 

  _  

From: Antonio Aloisio [mailto:antonio.aloi...@gmail.com] 
Sent: Friday, May 28, 2010 9:46 AM
To: Felipe Crochik
Cc: maemo-developers@maemo.org
Subject: Re: QtMobility Contacts

 

Hi Felipe,

 

1. I am using the QContactDetailFilter to get a list of contacts on the n900
and it takes very long compared to the standard address book and uses up
all the cpu. I don't have too many contacts on my address book (about 300).
It does not seem to matter the match criteria and/or the number of records
that actually get filtered (it takes about the same time to get all records
or just one). Any similar experiences? Any way to improve on it?

It's slow and it takes very long time because it convert every OSSO ABook
contact to

QContact then it applies the filters.

Native filtering is not complete so it's turned off.

 

2. Is it possible to get the contact presence status using QtMobility? By
what I found you need to get the QContactOnlineAccountand then supposedly
you would find the QContactPresence using linkedDetailUris on
QContactOnlineAccount but linkedDetailUris does not return any strings. The
contact manager does not seem to support the QContactGlobalPresence detail.
Am I doing anything wrong? How can I find out if the user is online on skype
for example?

 If the contact has not been added manually from the user, the
QContactPresence::FieldPresenceState field should contains the presence
status.

 The QContactGlobalPresence is not yet supported.

 

Regards,

Antonio

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: MADDE 0.6.72 ships system QEMU and N900 PR 1.2 filesystem images

2010-05-28 Thread Paul Hartman
On Fri, May 28, 2010 at 7:52 AM, Tomi Ollila
tomi.oll...@guru.guru-group.fi wrote:
 Hi

 I think this interests many maemo developers:

 Just released MADDE, version rolled up to 0.6.72
 includes system qemu which can be used mostly like
 real N900 device with PR 1.2 for software testing and
 development.

Thanks, but I can't install this version of MADDE. It tells me this
confusing message:

Do you want to use installation path: /home/paul/.madde (yes/no)? yes
In directory '/home/paul/.madde' there exists
newer installed version 'query - version : no match.'.
Downgrading to '0.6.72' not supported.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: MADDE 0.6.72 ships system QEMU and N900 PR 1.2 filesystem images

2010-05-28 Thread Paul Hartman
On Fri, May 28, 2010 at 9:59 AM, Paul Hartman
paul.hartman+ma...@gmail.com wrote:
 On Fri, May 28, 2010 at 7:52 AM, Tomi Ollila
 tomi.oll...@guru.guru-group.fi wrote:
 Hi

 I think this interests many maemo developers:

 Just released MADDE, version rolled up to 0.6.72
 includes system qemu which can be used mostly like
 real N900 device with PR 1.2 for software testing and
 development.

 Thanks, but I can't install this version of MADDE. It tells me this
 confusing message:

 Do you want to use installation path: /home/paul/.madde (yes/no)? yes
 In directory '/home/paul/.madde' there exists
 newer installed version 'query - version : no match.'.
 Downgrading to '0.6.72' not supported.


Forgot to mention, I am using install-madde-0.6.72-linux-x86_64.sh

Thanks!
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: QtMobility Contacts

2010-05-28 Thread Antonio Aloisio
Hi Felipe,
Briefly fro mmy phone
you can retrieve any detail from a contact with QContact::detail using
QContactDETAILNAME::DefinitionName as argument.

IIRC QContactManager::detailDefinitions will return a map with the Details,
fields... supproted by the specific backend.
I've to say that Maemo5 contacts backend needs some fixes, in case you found
a bug please report them to JIRA.

Cheers,
Antonio

On Fri, May 28, 2010 at 5:08 PM, Felipe Crochik fel...@crochik.com wrote:

  Hi Antonio,



 I am missing some step. Would you be so kind to check the code bellow? I
 can’t figure out how to find the QContactPresence detail… By the
 documentation I assumed linkedDetailUris would give me some hint on how to
 get but it didn’t …



 …

 details = m_contact.details(QContactOnlineAccount::DefinitionName);

 foreach ( QContactOnlineAccount account, details ) {

 qDebug()  Online Acount:   account.serviceProvider()  :   
 account.accountUri();

 foreach ( QString str, account.contexts() ) qDebug()   Context: 
   str;

 foreach ( QString str, account.capabilities() ) qDebug()   
 Capability:   str;

 foreach ( QString str, account.linkedDetailUris()) qDebug()   
 LinkedDetailUri:   str;

 foreach ( QString str, account.subTypes()) qDebug()   SubType:  
  str;



 // how do I get the QContactPresence detail?

 // …

 QContactPresence presence;

 qDebug()  Presence:   presence.presenceState();

 }





 The linkDetailUris, capabilities, contexts and subtypes seem to always be
 empty for my contacts. Is there a way to check to check for the contact
 manager if the field is supported? Just to make sure to not expect for it…



 Thanks again

 Felipe


  --

 *From:* Antonio Aloisio [mailto:antonio.aloi...@gmail.com]
 *Sent:* Friday, May 28, 2010 9:46 AM
 *To:* Felipe Crochik
 *Cc:* maemo-developers@maemo.org
 *Subject:* Re: QtMobility Contacts



 Hi Felipe,



 1. I am using the QContactDetailFilter to get a list of contacts on the
 n900
 and it takes very long compared to the standard address book and uses up
 all the cpu. I don't have too many contacts on my address book (about 300).
 It does not seem to matter the match criteria and/or the number of records
 that actually get filtered (it takes about the same time to get all records
 or just one). Any similar experiences? Any way to improve on it?

  It's slow and it takes very long time because it convert every OSSO ABook
 contact to

 QContact then it applies the filters.

 Native filtering is not complete so it's turned off.



 2. Is it possible to get the contact presence status using QtMobility? By
 what I found you need to get the QContactOnlineAccountand then supposedly
 you would find the QContactPresence using linkedDetailUris on
 QContactOnlineAccount but linkedDetailUris does not return any strings. The
 contact manager does not seem to support the QContactGlobalPresence detail.
 Am I doing anything wrong? How can I find out if the user is online on
 skype
 for example?

   If the contact has not been added manually from the user, the
 QContactPresence::FieldPresenceState field should contains the presence
 status.

  The QContactGlobalPresence is not yet supported.



 Regards,

 Antonio

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: QtMobility Contacts

2010-05-28 Thread Felipe Crochik
Antonio,

 I've to say that Maemo5 contacts backend needs some fixes, in case you
found a bug please report them to JIRA.

Sorry but I don't actually know what/who JIRA is.. I will post here for now
hoping that someone will know better than I do. 

 you can retrieve any detail from a contact with QContact::detail using
QContactDETAILNAME::DefinitionName as argument.

I tried contact.details(QContactPresence::DefinitionName) but did not get
any results. but I assume that somehow the presence detail would be related
to the OnlineAccount detail, no? 

The only values I get for the skype QContactOnlineAccount detail are
AcccountPath (spirit/skype/my_username), DetailUri(skype) and
ServiceProvider (skype). How can I get the skype account for the contact
and it is presence status. Can't figure out how and the documentation did
not help me much. Anybody can give me a hint?

 It's slow and it takes very long time because it convert every OSSO ABook
contact to QContact then it applies the filters. Native filtering is not
complete so it's turned off.

One idea/suggestion for a fix: Is there a way to have the ContactManager
cache the results? Once, like you said for now, the filtering is done
after gathering all the records from the native book and converting them to
QContacts, it would be much better if we had the option to tell the manager
to cache the results, at least, when refining the search (the manager would
not have to go back and rebuild the list). I understand it would be a data
snapshot and would consume memory but for most applications just trying to
select a contact it would be a big upgrade. I know that I can get all the
contacts and then write my own filters but seems like a wasted effort. If we
could just control the cache we can continue to write the code using
QContactDetailFilter and once everything is optimized/fixed we would just
disable (or not) the cache and the same code would work with live data.

Is there a plan for a new release of qt mobility packages on the maemo5?

Thanks again,
Felipe


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: QtMobility Contacts

2010-05-28 Thread Robin Burchell
On Fri, May 28, 2010 at 7:32 PM, Felipe Crochik fel...@crochik.com wrote:
 Antonio,

 I've to say that Maemo5 contacts backend needs some fixes, in case you
 found a bug please report them to JIRA.

 Sorry but I don't actually know what/who JIRA is.. I will post here for now
 hoping that someone will know better than I do.

JIRA is a bugtracker. You probably want the Qt one:
http://bugreports.qt.nokia.com/secure/Dashboard.jspa

 One idea/suggestion for a fix: Is there a way to have the ContactManager
 cache the results? Once, like you said for now, the filtering is done
snip
 disable (or not) the cache and the same code would work with live data.

IMHO It would be better to dig in with profiling if at all possible
and make sure the right bottleneck is found before trying to solve it.
You can't fix what you don't understand. :-)

 Thanks again,
 Felipe


Robin Burchell
mob: +447702671419
msn: m...@viroteck.net
irc: w00t @ irc.freenode.net
twr: http://twitter.com/w00teh
lac: http://identi.ca/w00t
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: QtMobility Contacts

2010-05-28 Thread Felipe Crochik
Robin,

 JIRA is a bugtracker. You probably want the Qt one:
 http://bugreports.qt.nokia.com/secure/Dashboard.jspa

Thank you for the information on JIRA.

 IMHO It would be better to dig in with profiling if at all possible
and make sure the right bottleneck is found before trying to solve it.
 You can't fix what you don't understand. :-)

Just to avoid misunderstandings: I did not try to say that there was a bug
or even less that I had a solution for it. It was just an idea as a possible
workaround for the situation that Antonio described on his previous e-mail
(and I quoted on mine) as an explanation for how slow it is. 

Felipe


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers