On Tuesday 21 February 2012, 18:06:51 Mads Ipsen wrote:
> On 21/02/2012 16:47, Mateusz Korniak wrote:
> > On Tuesday 21 of February 2012, Mads Ipsen wrote:
> >> On 21/02/2012 15:32, Mateusz Korniak wrote:
> >>> On Tuesday 21 of February 2012, Mads Ipsen wrote:
> >>>> (...) I attach a snippet that reproduces the issue. So run
> >>>> the example and try to tell me why the activated signal is NOT
> >>>> triggered when a cell is clicked, double-clicked, entered etc.
> >>>
> >>> I get handlers called for click, dbl-click, and hitting enter.
> >>> python-PyQt4-4.8.5
> >>> QtGui-4.7.4
> >>
> >>      * But if you navigate around in the cell using arrow keys and
> >> then press space, the cell is opened, but no signal is triggered.
> >> * If you then write something in the cell and press TAB to leave
> >> the cell - no signal is triggered.
> >
> > Perhaps above are cell contents edits, without activation.
> >
> >>      * Also, I would expect a double-click to also trigger the
> >> activated signal, since the cell is activated by the double-click.
> >
> > That works for me:
> > activate on cell[1,1]
> > doubleClick on cell[1,1]
>
> Any idea why this fails for me? Because I use Gnome? Bug?

Mads, before pointing fingers, let's start with a proper description of 
the offending system. 

With these, your script behaves fine for me (similar to Matheusz' 
results):
python: 2.6.2
sip: 4.13.1
qt4: 4.7.1
pyqt4: 4.9

WM: KDE 3.5.10

If you use Ubuntu, you need to know, that they do questionable things to 
get their stuff to behave, especially to Gnome and WM. 

Pete
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to