[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#529435: marked as done (QListBox::current set in insertItem without currentChanged emiting)

Your message dated Wed, 20 Jun 2012 11:03:14 +0000
with message-id <[🔎] E1ShIgs-00078Z-Vq@franck.debian.org>
and subject line Bug#678210: Removed package(s) from unstable
has caused the Debian Bug report #529435,
regarding QListBox::current set in insertItem without currentChanged emiting
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

529435: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529435
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qt-x11-free
Severity: normal

I have just noticed that buggy behavior in my application is caused by
QListBox::current being set during insertItem without triggering currentChanged.
My application uses currentChanged handler for enable/disable logic and
so this doesn't work in case that box was empty.

I am not sure whether this is correct or not, but it is at least
inconsistent for cases like:

box->insertItem(item, pos);

because this will trigger currentChanged signal only if box wasn't empty

I have checked the source and really QListBox::insertItem does something

    if ( hasFocus() && !d->current ) {
	d->current = d->head;
	updateItem( d->current );
	emit highlighted( d->current );
	emit highlighted( d->current->text() );
	emit highlighted( index );

I think that we are missing emit currentChanged there.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-rc6-22ef37eed673587ac984965dc88ba94c68873291 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

--- End Message ---
--- Begin Message ---
Version: 3:3.3.8b-11+rm

Dear submitter,

as the package qt-x11-free has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/678210

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing

Debian distribution maintenance software
Alexander Reichle-Schmehl (the ftpmaster behind the curtain)

--- End Message ---

Reply to: