Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxPython 3 with GTK 3 support #615

Open
hroncok opened this issue Jan 26, 2015 · 12 comments
Open

wxPython 3 with GTK 3 support #615

hroncok opened this issue Jan 26, 2015 · 12 comments
Assignees

Comments

@hroncok
Copy link
Collaborator

hroncok commented Jan 26, 2015

Hi, wxPython 3 (using GTK 3) has reached Fedora rawhide (will be Fedora 22). As a packager of Printrun, my concern is that it works with wxPython 3.

Currently, Pronterface runs, but it has no console and some input fileds are not very usable.

pronterface-wxpython

This is copied form stderr:

** (pronterface.py:6144): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

Plater seems fine.

I might be able to go and try fixing this, but I have never used wxPython before, so it might be better idea if some of the regular contributors looks into this. Let me know if I can buy you a beer or something, in case you make this work :)

Thanks a lot.

@hroncok hroncok changed the title wxPython 3 support wxPython 3 with GTK 3 support Jan 26, 2015
@kliment
Copy link
Owner

kliment commented Feb 2, 2015

The console is hidden - does it show correctly if you click the < button on the top right? As for the input fields, we'll have to make them wider due to the new layout. The only difficult one will be the print speed one as the slider is already cramped. Maybe we need to split it out on two rows. I'll look into this but I'll need you to test the layout changes as of course the controls look very different for me. Poke me on IRC to coordinate.

@kliment kliment self-assigned this Feb 2, 2015
@hroncok
Copy link
Collaborator Author

hroncok commented Feb 2, 2015

So I tested again with current master.

First, the console is hidden, but the button indicates it is not (the arrow points out, as in hide)

printrun1

When I click the button, the console is not shown, but the direction of the arrow is reversed, so now I read is as "show".

printrun2

And yes, indeed, the button shows the console. (I've also noticed the extremely wide gap between the console and the gcode preview area.)

printrun3

I can also hide the left panel.

printrun4

But when I show it again, the console is again gone.

printrun5

@hroncok
Copy link
Collaborator Author

hroncok commented Apr 26, 2015

Fedora 22 is already at Beta. I would love to see this fixed before the stable release (currently planned to 2015-05-26).

While the missing console is no longer an issue. I still have the problem we've discussed with @kliment on IRC https://churchyard.fedorapeople.org/printrun.ogv

(Note that the lagging is not the issue, it's only happening when recording the video, the issue is that the widgets are expanding even if I make the window smaller.)

Thanks for any help.

@rockstorm101
Copy link
Collaborator

Currently I don't have a system running wxPython version 2.8, does this only happen with 3.0?

@kliment
Copy link
Owner

kliment commented Mar 22, 2016

Yes, it only happens with 3.0

On 03/22/2016 06:47 PM, Rock Storm wrote:

Currently I don't have a system running wxPython version 2.8, does this only happen with 3.0?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#615 (comment)

@claell
Copy link

claell commented Nov 26, 2016

Any updates on this? Did this got fixed?

@lologarithm
Copy link

I just downloaded master and everything seems to be working fine (and no console errors)

@petterreinholdtsen
Copy link

For the record, this issue is linked to from Debian bug https://bugs.debian.org/819745 .

@rockstorm101
Copy link
Collaborator

Sadly, I can still reproduce this issue with Printrun 2.0.0rc2. Can you confirm @hroncok?

hroncok added a commit to hroncok/Printrun that referenced this issue Mar 5, 2018
This originates in Fedora: http://bugzilla.redhat.com/show_bug.cgi?id=1231518

I've removed all the wx.VERSION checks.

Should (at least partially) fix kliment#897
and kliment#615

Co-authored-by: Scott Talbert <swt@techie.net>
@hroncok
Copy link
Collaborator Author

hroncok commented Mar 20, 2018

This behaves nicely for me with 2.0.0rc3.

@rockstorm101
Copy link
Collaborator

I still can reproduce this issue at 5edf6aa. :(

after_resizing

However I'm investigating whether this is due to my setup. Because I see the little '^' and 'v' buttons instead of the '+' and '-' that everyone else is seeing.

@kliment
Copy link
Owner

kliment commented Mar 21, 2018

Yeah rockstorm, looks like you're on gtk2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants