[Owncloud] Owncloud client status dialog Pause/Resume buttons etc. remain disabled

owncloud_mailing_list at status.e4ward.com owncloud_mailing_list at status.e4ward.com
Thu Sep 20 01:32:51 UTC 2012


Hello all.

I wanted to let you know that I submitted a pull request at 
https://github.com/owncloud/mirall/pull/6 to fix the following issue:

The Pause/Resume button etc. remain disabled until one double-clicks on 
one of the folders in the list. This is because QListView::activated() 
is used to determine which folder is selected, and that signal (at least 
on Ubuntu 12.04 64-bit with Qt 4.8.1) is only emitted on a double-click 
(a double-click is also used to open the folder). Another effect of this 
is that if you pause one folder the button changes to Enable. However, 
if you change the selection to another, already enabled folder, the 
button still reads Enable but if you click it it actually pauses again. 
The fix is to change the use of QListView::activated() to 
QListView::clicked(), so the buttons change state depending only upon a 
single left-click.

Kyle



More information about the Owncloud mailing list