Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, April 2007
Disabled QAction still responds to shortcut?


Message 1 in thread

I was a little baffled to observe that a disabled QAction still responds to
its keyboard shortcut, is this the intended behaviour?

Thanks,
Arve Knudsen

Message 2 in thread

Sounds like a bug to me...

Keith

On 04-17-2007 8:43 AM, "Arve Knudsen" wrote:

> I was a little baffled to observe that a disabled QAction still responds to
> its keyboard shortcut, is this the intended behaviour?
> 
> Thanks,
> Arve Knudsen


Message 3 in thread

On Tuesday 17 April 2007 15:43:13 Arve Knudsen wrote:
> I was a little baffled to observe that a disabled QAction still responds to
> its keyboard shortcut, is this the intended behaviour?

Are you using Qt on Linux with gcc 4.1? If yes can you try a Qt 4.3 snapshot?
We've recently applied a fix for this particular ... sympton that turned out 
to be a compiler problem.

Simon

Attachment:

Attachment: pgpRWHp1tv734.pgp
Description: PGP signature


Message 4 in thread

I am
using the latest Qt package in Ubuntu, so yes I would think it is
compiled with gcc
4.1. I'll try 4.3 and see if it makes any difference.

Thanks,
Arve

On 4/18/07, Simon Hausmann <simon.hausmann@xxxxxxxxxxxxx> wrote:
>
> On Tuesday 17 April 2007 15:43:13 Arve Knudsen wrote:
> > I was a little baffled to observe that a disabled QAction still responds
> to
> > its keyboard shortcut, is this the intended behaviour?
>
> Are you using Qt on Linux with gcc 4.1? If yes can you try a Qt 4.3snapshot?
> We've recently applied a fix for this particular ... sympton that turned
> out
> to be a compiler problem.
>
> Simon
>
>

Message 5 in thread

Simon: I am still experiencing the problem with the snapshot, but
I should mention I am using it via PyQt. Don't know which difference this
should make. My PyQt installation is also compiled against Qt 4.2.3 (but
linked to 4.3 at runtime), as I was unable to successfully compile against
4.3 beta. I'll check with the PyQt developer if he can update it to compile
against 4.3.

Arve

On 4/18/07, Arve Knudsen <arve.knudsen@xxxxxxxxx> wrote:
>
> I am
> using the latest Qt package in Ubuntu, so yes I would think it is compiled with gcc
> 4.1. I'll try 4.3 and see if it makes any difference.
>
> Thanks,
> Arve
>
> On 4/18/07, Simon Hausmann <simon.hausmann@xxxxxxxxxxxxx> wrote:
> >
> > On Tuesday 17 April 2007 15:43:13 Arve Knudsen wrote:
> > > I was a little baffled to observe that a disabled QAction still
> > responds to
> > > its keyboard shortcut, is this the intended behaviour?
> >
> > Are you using Qt on Linux with gcc 4.1? If yes can you try a Qt 4.3snapshot?
> > We've recently applied a fix for this particular ... sympton that turned
> > out
> > to be a compiler problem.
> >
> > Simon
> >
> >
>

Message 6 in thread

On 19.04.07 12:07:55, Arve Knudsen wrote:
> Simon: I am still experiencing the problem with the snapshot, but
> I should mention I am using it via PyQt. Don't know which difference this
> should make. My PyQt installation is also compiled against Qt 4.2.3 (but
> linked to 4.3 at runtime),

So ldd on the PyQt modules tells you the qt4.3 paths?

> as I was unable to successfully compile against
> 4.3 beta. I'll check with the PyQt developer if he can update it to compile
> against 4.3.

Don't bother with this, Phil won't support beta releases of Qt. I
already asked him

However it should be rather easy to reproduce this with C++ Qt4.3, if
its really a Qt but.

Andreas

-- 
 [ signature omitted ] 

Message 7 in thread

On 4/19/07, Andreas Pakulat <apaku@xxxxxx> wrote:
>
> On 19.04.07 12:07:55, Arve Knudsen wrote:
> > Simon: I am still experiencing the problem with the snapshot, but
> > I should mention I am using it via PyQt. Don't know which difference
> this
> > should make. My PyQt installation is also compiled against Qt 4.2.3 (but
> > linked to 4.3 at runtime),
>
> So ldd on the PyQt modules tells you the qt4.3 paths?

Yes.

> as I was unable to successfully compile against
> > 4.3 beta. I'll check with the PyQt developer if he can update it to
> compile
> > against 4.3.
>
> Don't bother with this, Phil won't support beta releases of Qt. I
> already asked him

Yeah, I found out by reading the mailing list.

However it should be rather easy to reproduce this with C++ Qt4.3, if
> its really a Qt but.

Yes I suppose it should, I haven't worked with Qt on the C++ level in a
while though so it's definitely more hassle than running my PyQt
application. I'll see if I find the time later.

Arve