gp1313 / iep

Automatically exported from code.google.com/p/iep
0 stars 0 forks source link

IEP does not properly load on Ubuntu 12.10 #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Run IEP or Pyzo on Ubuntu 12.10

What is the expected output? What do you see instead?
Iep starts, showing the splash screen, but flickers and stays unresponsive. It 
has also been reported that it eats memory.

This is a known problem with 12.10 related to scrollbar overlays. See for 
instance http://ubuntuforums.org/archive/index.php/t-2046299.html

To fix this, the variable LIBOVERLAY_SCROLLBAR should be set to '0'.
For instance in iep/__init__.py, put right after the "import os": 
os.environ['LIBOVERLAY_SCROLLBAR'] = '0'

Original issue reported on code.google.com by almar.klein@gmail.com on 20 Dec 2012 at 9:07

GoogleCodeExporter commented 8 years ago
Also, Ubuntu 12.10 has a Mac-like menu bar. It seems that only the window title 
that is initially given is used (it does not show the current file). And as it 
is now, the application icon is also not applied. Putting the loading of icons 
and setting the application icon *before* setting the stylesheet fixes it.

Original comment by almar.klein@gmail.com on 20 Dec 2012 at 9:12

GoogleCodeExporter commented 8 years ago
A quick test with a minimal example containing a QPlainTextEdit (for the 
scrollbars) reveals that *any* Qt app will be affected.

For Pyzo this should thus be fixed in the init script of the executabele.

Original comment by almar.klein@gmail.com on 20 Dec 2012 at 10:04

GoogleCodeExporter commented 8 years ago
This issue was closed by revision f536f3557a34.

Original comment by almar.klein@gmail.com on 20 Dec 2012 at 11:06

GoogleCodeExporter commented 8 years ago
Thomas reports:
Other Qt applications work, and get the global menubar. They don't get the 
overlay scrollbars, but we don't have to do anything special to avoid them. 
I've just tested this including Python 3 applications, and using PySide as well 
as PyQt.

Perhaps the issue is more related to PySide, and a newer version of PySide may 
fix it.
Reopening to look into again before the next release.

(Setting to medium priority, the critical part has been solved now)

Original comment by almar.klein@gmail.com on 21 Dec 2012 at 3:19

GoogleCodeExporter commented 8 years ago

Original comment by almar.klein@gmail.com on 21 Dec 2012 at 3:20

GoogleCodeExporter commented 8 years ago
Update: with PySide version 1.1.2 the bug still persists, so we still need to 
disable LIBOVERLAY_SCROLLBAR to make IEP stable on Ubuntu 12.10.

Original comment by almar.klein@gmail.com on 6 Mar 2013 at 2:04

GoogleCodeExporter commented 8 years ago
As part of migrating our code repositories from Googlecode
to Bitbucket, all IEP issues are now tracked at 
https://bitbucket.org/iep-project/iep/issues

To view this issue, use this link (with X replaced by the issue number):
https://bitbucket.org/iep-project/iep/issue/X

Issues on Bitbucket can be created by anyone. Commenting on issues requires 
login via Bitbucket, Google, Twitter or Github.

Original comment by almar.klein@gmail.com on 11 Jun 2013 at 2:40