Discussion:
wxWidgets apps have no window decorations when run via NX
Ian Macdonald
2014-04-11 02:33:14 UTC
Permalink
Hi,

NX is a remote desktop protocol; we're using FreeNX on the Ubuntu server
and OpenNX on the Windows clients. We can start a desktop and then our
application successfully, but if we try to start our application
directly, we get windows without borders, whereas other apps (xterm,
firefox, chrome, etc) work correctly when started in this way.
Experiments have shown this problem applies to all Wx applications we
can find, e.g. all our applications, the wxPerl demo app, Audacity, etc.

See image illustrating problem at Loading Image...

Background:
We've got an application written using wxPerl which has been
successfully put into production on a local LAN. We wish to use the NX
remote desktop technology to improve display performance across longer
distances (New Zealand clients, Australian servers).

Thanks for any suggestions,
Ian Macdonald
Armaguard
Australia

WARNING: This email and any attachments may be confidential and subject
to copyright. If you are not the intended recipient, you must not
disclose or use the information contained in this email. If you have
received this email in error, please notify the sender and permanently
delete the email immediately. Linfox Pty Ltd and its related
companies do not warrant that this email and any attachments are free of
errors, viruses or tampering by third parties, and will not be
responsible for loss or damage resulting (either directly or indirectly)
from any such error, virus or tampering. If this is a commercial email
within the meaning of the Spam Act, you may unsubscribe from future
commercial emails by emailing ***@linfox.com
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Igor Korot
2014-04-11 03:17:47 UTC
Permalink
Hi, Ian,
Post by Ian Macdonald
Hi,
NX is a remote desktop protocol; we're using FreeNX on the Ubuntu server
and OpenNX on the Windows clients. We can start a desktop and then our
application successfully, but if we try to start our application
directly, we get windows without borders, whereas other apps (xterm,
firefox, chrome, etc) work correctly when started in this way.
Experiments have shown this problem applies to all Wx applications we
can find, e.g. all our applications, the wxPerl demo app, Audacity, etc.
See image illustrating problem at http://i.imgur.com/FTbH03g.jpg
What is you host and the client running?
Which version of wxWidgets you are trying?
Did you try the wxWidgets sample to run?

Thank you.
Post by Ian Macdonald
We've got an application written using wxPerl which has been
successfully put into production on a local LAN. We wish to use the NX
remote desktop technology to improve display performance across longer
distances (New Zealand clients, Australian servers).
Thanks for any suggestions,
Ian Macdonald
Armaguard
Australia
WARNING: This email and any attachments may be confidential and subject
to copyright. If you are not the intended recipient, you must not
disclose or use the information contained in this email. If you have
received this email in error, please notify the sender and permanently
delete the email immediately. Linfox Pty Ltd and its related
companies do not warrant that this email and any attachments are free of
errors, viruses or tampering by third parties, and will not be
responsible for loss or damage resulting (either directly or indirectly)
from any such error, virus or tampering. If this is a commercial email
within the meaning of the Spam Act, you may unsubscribe from future
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
or visit http://groups.google.com/group/wx-users
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Steve Cookson - gmail
2014-04-11 09:23:31 UTC
Permalink
Hi Ian,
See image illustrating problem athttp://i.imgur.com/FTbH03g.jpg
Well firstly let me say congratulations. It took me ages to find a way
of achieving this. I'm only sorry it wasn't what you were looking for.

You haven't mentioned your other systems. Can I assume they show the
correct Windows decorations?

I eventually found this:

eon Aurorae no buttons by FRUiT

Under:

System Settings>Workspace Appearance>Windows Decorations>Get New
Decorations.


It also achieves no decorations, which is what I wanted.

To do the opposite:

1) Try to apply a windows decorations with the style you want and see if
that helps.
2) Otherwise, I suspect it's not a wxPerl issue but a wxWidgets issue. I
find that when I choose


System Settings>Application Appearance><Something>


That my choices are not reflected in my applications in wxPerl, or if I
do a build of the samples in wxWidgets, they too do not show the correct
settings.


So you may want to try the google group called wx-users.

If you do get an answer please post it here. I'd also like to have more
flexibility over my decoration options.


I hope that helps.


Regards

Steve
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...