Search found 672 matches

by briceandre
Fri Feb 02, 2018 7:39 pm
Forum: Platform Related Issues
Topic: MAC : Avoid background application in dock
Replies: 6
Views: 1882

Re: MAC : Avoid background application in dock

ONEEYEMAN: no I cannot use a thread. My previous version of the code used this. But I had a lot of trouble : I launch a JVM with proprietary code running in it (not my code), and it continuously change application settings. In a separate process, it does not bother me, but in the same process, this ...
by briceandre
Wed Jan 31, 2018 3:57 pm
Forum: Platform Related Issues
Topic: MAC : Avoid background application in dock
Replies: 6
Views: 1882

Re: MAC : Avoid background application in dock

Dear Oneeyeman, Unfortunately, this will not solve my issue. The same application (and thus, the same bundle) is used for both process. The first process need to be displayed in the dock and needs its own menu, whilst the second process should have none, as it is a background process. By modifying t...
by briceandre
Mon Jan 29, 2018 8:37 pm
Forum: Platform Related Issues
Topic: MAC : Avoid background application in dock
Replies: 6
Views: 1882

MAC : Avoid background application in dock

Dear all, I have written a multi-platform application that, for some reasons, during execution, starts a new instance of the same application for a background process. This background process does not perform any gui operation. On Windows, everything works as expected : the background process is lau...
by briceandre
Sat Dec 09, 2017 7:35 am
Forum: Platform Related Issues
Topic: linux : Error: Failed to add descriptor xx to epoll descriptor xx
Replies: 8
Views: 1202

Re: linux : Error: Failed to add descriptor xx to epoll descriptor xx

ONEEYEMAN Yes, I use events to communicate between worker thread and main thread : the worker thread is filling a common memory (protected with mutex) and, when ready, posts an event so that the main thread is consuming produced data. There is no communication in the other direction. Bu I am not sur...
by briceandre
Fri Dec 08, 2017 4:36 am
Forum: Platform Related Issues
Topic: linux : Error: Failed to add descriptor xx to epoll descriptor xx
Replies: 8
Views: 1202

Re: linux : Error: Failed to add descriptor xx to epoll descriptor xx

With minimum changes : certainly not... All samples widely use gui functions. My problem only occurred on a platform that has no X11 server (and thus, I cannot compile with a gui-enabled wxWidgets version). Moreover, socket sample uses sockets with events. As my bug occurs when using sockets in seco...
by briceandre
Thu Dec 07, 2017 6:48 am
Forum: Platform Related Issues
Topic: linux : Error: Failed to add descriptor xx to epoll descriptor xx
Replies: 8
Views: 1202

Re: linux : Error: Failed to add descriptor xx to epoll descriptor xx

I did some investigations about this problem, and found other problems when using wxSocket in secondary thread under a nnon-gui linux application. The problem described above (epoll descriptor warning) seems to occur only if using a wxDatagramSocket in a secondary thread. But for both wxDatagramSock...
by briceandre
Tue Oct 10, 2017 10:03 am
Forum: Platform Related Issues
Topic: Performance issue after migration
Replies: 8
Views: 1460

Re: Performance issue after migration

OK, thanks.

I thought that you discouraged copying from bitmap to DC. But I probably misunderstood.

I will give it a try because the major part of the drawing is static.

Thanks for suggestions.

Brice
by briceandre
Tue Oct 10, 2017 5:55 am
Forum: Platform Related Issues
Topic: Performance issue after migration
Replies: 8
Views: 1460

Re: Performance issue after migration

Dear all, Thanks for your advices. After investigation, compiler was not the cause of the issue: all seems to be linked to migration to wxWidgets 3.0.3, and in particular, in the DC stuff. I did not migrated to wxWidgets 3.1.0 because this is still an unstable version. Instead, I came back to 3.0.0 ...
by briceandre
Thu Oct 05, 2017 8:02 am
Forum: Platform Related Issues
Topic: Performance issue after migration
Replies: 8
Views: 1460

Performance issue after migration

Dear all, I recently migrated my development environment : starting from wxWidgets 3.0.0 with MSVC2010 compiler, I switched to wxWidgets 3.0.3 with MSVC2017 compiler. Apart that, my application was not changed. Before those changes, I never noticed any performance issue in my app. But now that I upg...
by briceandre
Sun Jul 30, 2017 6:33 pm
Forum: Platform Related Issues
Topic: Did anybody seen this issue? Crash on OSX with "BAD-ACCESS"
Replies: 2
Views: 552

Re: Did anybody seen this issue? Crash on OSX with "BAD-ACCESS"

Dear Oneeyman, Unfortunately, having a program that runs under Windows and Linux does not mean that you do not have a bug in it. I am currently doing something similar to you (I am porting a new module of an application developed under Windows on Mac OSX) and I have myself several platform related i...
by briceandre
Sun Jul 23, 2017 2:07 pm
Forum: Platform Related Issues
Topic: linux : Error: Failed to add descriptor xx to epoll descriptor xx
Replies: 8
Views: 1202

linux : Error: Failed to add descriptor xx to epoll descriptor xx

Dear all, I have a program written with wxWidgets 3.0.2. It is aimed at running on a raspberry (raspbian, gcc compiler, only wxWidgets CORE services, as no GUI is running on the raspberry). But I test it on Windows (mscv 2012 compiler, wxWidgets compiled with GUI services). This program widely uses ...
by briceandre
Sun May 07, 2017 1:01 pm
Forum: Platform Related Issues
Topic: Dynamic change of encoding under MAC OSX
Replies: 1
Views: 445

Dynamic change of encoding under MAC OSX

Dear all, I am facing an issue with an application that loads a java virtual machine by using JNI interface. Before starting the java virtual machine, the application is running fine. But, under Mac, once the java virtual machine is launched (JNI_CreateJavaVM), the application is starting interpreti...
by briceandre
Wed Sep 30, 2015 6:05 am
Forum: Platform Related Issues
Topic: full screen on Mac
Replies: 1
Views: 716

Re: full screen on Mac

I finally found the answer to my question. I post it here so that it can help someone else. The functionality described above is currently not supported by wxWidgets (version 3.0.2). But an implementation proposal is available at the following url : http://trac.wxwidgets.org/changeset/76495/svn-wx B...
by briceandre
Mon Sep 28, 2015 7:25 pm
Forum: Platform Related Issues
Topic: full screen on Mac
Replies: 1
Views: 716

full screen on Mac

Dear all, With Mac OSX applications, it is common to be able to switch an application to a kind of full screen mode so that it uses another "desktop". Once applications are extended, it is possible to switch from one application to another by using three fingers on the touchpad and switching from le...
by briceandre
Sat Jun 14, 2014 5:14 am
Forum: Platform Related Issues
Topic: Mac OSX : existing objective-c app in a wxDialog
Replies: 0
Views: 906

Mac OSX : existing objective-c app in a wxDialog

Dear all, I would want to integrate a scanner interface to my MAC application, but as I am a noob with cocoa stuff, I looked on internet for an example. I found an application that nealy does what I want, but it's a xcode project implemented in objective-c and written as a standalone application (ht...