Re: PolicyKit1-KDE AuthDialog could not shown as TOP_LEVEL

2014-05-30 Thread Thomas Lübking

On Freitag, 30. Mai 2014 05:09:58 CEST, Leslie Zhai wrote:

Hi KDE developers,

My colleage reported a bug to me, it is about PolicyKit1-KDE AuthDialog
UI behavior issue, the AuthDialog could not show as TOP_LEVEL


That's called "_NET_WM_STATE_ABOVE" - "toplevel" usually refers to a window 
with the root window as parent drawable.


installing some App via Qt frontend of PackageKit, for example, Apper or
QJade https://github.com/AOSC-Dev/QJade


Seems an apper bug.
You want to pass the Apper window WId as last parameter to the AuthDialog() 
constructor.

This will make the AuthDialog modal (and transient) for that window.

The only problem occurs if you have no window to assiciate the AuthDialog with. 
In this case you may wish to enforce activation (see 
KWindowSystem::forceActiveWindow()) which is legit, if the dialog appears as 
result of a direct user interaction (eg. with some systray icon etc.)

Cheers,
Thomas


Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Akonadi maildir sync question

2014-05-30 Thread b-misc
Hi,

(I'm following the discussions on this list for quite some time; now I have a
question I could not get answered using some web search engines / bug
reports... So this is my first post.)

My question comes below after some background information...

In the last couple of days I worked on a newly set-up user account of a friend 
of mine where I added three large IMAP resources. I downloaded and copied all
mails (about 35'000 mails / 7 GB) in many small groups to subfolders of Local
Mail (i.e. maildir). Then I wanted to reorganize them into several newly 
created subfolders.

Before reorganizing I checked the number of messages for each folder shown in
kmail and in the subfolders of ~/.local/share/local-mail. Unfortunately I 
found that many mails and even some subfolders were missing; but all
missing mails were in the akonadi cache (inside file_db_data). I had ~ 2 GB in
local-folders and ~ 5 GB inside file_db_data! I found a way of getting them
inside local-mail by copying them to a newly created temporary folder (inside
local-mail), deleting the original ones and moving them back afterwards. I
checked and found that all mails arrived at the right location :-)

After I had finished this "spring-cleaning", I had a look into my local-mail
(similar setup) and also found some mails not written to the maildir.


Now my question:
Is there a simple "sync option" akonadi cache => maildir, i.e. how can I make
sure, that all mails which are shown in kmail (or akonadi console) are also
written to my maildir (at least after some time)? Some of my mails in
file_db_data are many days old. I know the settings for the cache expiry, but 
it seems it doesn't work 100% reliably (maybe related to crashes?).


Thank you so much, best regards and Thank You for KDEPIM!
Bernd


PS: Running Debian Testing, KDE 4.12.4, akonadi 1.12.1

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<