<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt">Hi,<br>I have a use case that i discussed with<br>Adrien and we are not sure how to solve.<br><br>You select a big package to install,<br>call installPackages(pids), ok this will take a while<br>then you decide to install more packages<br>but this time installPackages got queued,<br>this 2nd installpackages has a package that need<br>to accept eula.<br>So i think you will only know that when the 1st<br>transaction finishes...<br>As it will take a while you logout, and login...<br>now i have two thing i don't know (just figured out one more :P )<br>* the 1st transaction finishes and how do you<br>have a popup that has to accept eula?<br>(this includes more problems... )<br><br>* ok, now you click on the tray icon and select the <br>2nd, transaction in one minute the 1st one finishes
 and<br>the 2nd emmit accept eula, you agree (as always :) )<br>and then installPackages must be called again.<br>Now, does the getRole return packagesId so i can discover<br>what was asked to install? i mean i'll will be ugly to store<br>this data on the gui side (if the relogin switechs form kde<br>to gnome).<br><br>* when the user is going to accept the X crashes<br>so he will never see the 2nd transaction anymore..<br>as it is Finished(accept eula)<br><br>Adrien and i thought that this way should change<br>A Finished transaction should be really finished.<br>If you are waiting to install signature or accept<br>eula you shoud be at status Accept eula,<br>this way when the X crash (i'm just creating a possibility :) )<br>you will still be able to click on the tray icon<br>"Installing Packages vim ( waiting for eula to be accepted)"<br>and when you accept it the transaction continues.<br>And only finishes if the user does not accept the eula<br>or a
 error really happen.<br>Also if the user click on the :<br>"Installing Packages vim ( waiting for eula to be accepted)"<br>the transaction UI can check the get status() and<br>see that "waiting for eula to be accepted", and<br>it can then ask for the eula again so he can continue to read<br>from where he stopped as the X crashed :P<br><br>Please comments,<br>I hope not to be complicating more the things,<br>or maybe this was already planned and i just don't<br>know what should be done.<br><br>Thanks,<br>Daniel.<br></div><br>


      <hr size=1>Novos endereços, o Yahoo! que você conhece. <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.new.mail.yahoo.com/addresses">Crie um email novo</a> com a sua cara @ymail.com ou @rocketmail.com.</body></html>