QWidget::setMinimumSize: (/DiffWindow) The largest allowed size is (16777215,16777215)

Bug #854900 reported by Daniel Cordeiro
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Incomplete
Undecided
Unassigned
qbzr (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading to Oneiric, I'm unable to use 'bzr qdiff'.

Everytime I run 'bzr qdiff' I get (several times) the error:

(python:3680): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed

followed by the error:

QWidget::setMinimumSize: (/DiffWindow) The largest allowed size is (16777215,16777215)

and the qdiff dialog never shows up.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: bzr 2.4.1-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Tue Sep 20 14:44:07 2011
ExecutablePath: /usr/bin/bzr
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
SourcePackage: bzr
UpgradeStatus: Upgraded to oneiric on 2011-09-07 (13 days ago)
modified.conffile..etc.bash.completion.d.bzr: [deleted]

Revision history for this message
Daniel Cordeiro (dcordeiro) wrote :
Revision history for this message
Alexander Belchenko (bialix) wrote :

Sorry, I haven't seen this bug before, and only found it today. It's too late to ask you for more details, I suppose. But in case someone else will struck by this again, I'd like to see the content of your qbzr.conf file from ~/.bazaar or something like that (check output of `bzr version` for configuration directory). It should be safe to rename/delete this file and check qdiff again.

Changed in qbzr:
status: New → Incomplete
Revision history for this message
Olivier Tilloy (osomon) wrote :

I’m seeing this happening since I upgraded to Quantal.
I get three types of issues reported in the console:

    QWidget::setMinimumSize: (/DiffWindow) The largest allowed size is (16777215,16777215)

    QNativeImage: Unable to attach to shared memory segment.

    X Error: BadDrawable (invalid Pixmap or Window parameter) 9
      Major opcode: 62 (X_CopyArea)
      Resource id: 0x0

Those three issues are reported several times in the console.

When that happens, the qdiff window opens but flickers constantly and I can’t see its contents, making it unusable. I have to kill the process to get out of there.

I deleted ~/.bazaar/qbzr.conf, but that didn’t make things any better.

This is with bzr version 2.6.0~beta2-0ubuntu1 and qbzr version 0.22.2-1 on an up-to-date quantal installation.

Changed in qbzr (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexander Belchenko (bialix) wrote :

Olivier, do you have any problems with other q-dialogs, I'm interested in qlog, qcommit, qannotate and qbrowse?

Revision history for this message
Alexander Belchenko (bialix) wrote :

Also, are you running 64-bit OS or 320bit one?

Revision history for this message
Olivier Tilloy (osomon) wrote :

qlog works fine (but then double-clicking on a revision to show the diff leads to the same issue).
qbrowse works fine.
qcommit and qannotate exhibit the same issues as qdiff (same symptoms and same errors).

I hope that helps, let me know if I can provide additional information.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I’m running a 32-bits Ubuntu (Quantal, development version).

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 854900] Re: QWidget::setMinimumSize: (/DiffWindow) The largest allowed size is (16777215, 16777215)

Olivier Tilloy пишет:
> qlog works fine (but then double-clicking on a revision to show the diff leads to the same issue).
> qbrowse works fine.
> qcommit and qannotate exhibit the same issues as qdiff (same symptoms and same errors).
>
> I hope that helps, let me know if I can provide additional information.

Tell me version of Python, PyQt4 and Qt4 libs. If you have Bazaar
Explorer installed that could be found in its About dialog.

--
All the dude wanted was his rug back

Revision history for this message
Olivier Tilloy (osomon) wrote :

Python 2.7.3 (python 2.7.3-0ubuntu5)
PyQt4 4.9.3 (python-qt4 4.9.3-4)
Qt4 4.8.3 (libqtcore4 4:4.8.3+dfsg-0ubuntu1)

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

This sounds like bug #1005677. Try disabling the overlay scrollbars:

LIBOVERLAY_SCROLLBAR=0 bzr qdiff

Revision history for this message
Olivier Tilloy (osomon) wrote :

Andrew, you’re right, disabling the overlay scrollbars fixes the issue. I guess this bug can be marked invalid (or a duplicate of bug #1005677).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.