Re: [Gambas-user] TrayIcon question

2016-04-15 Thread zainudin ahmad
This example more clear, attach file
I hope it's work

On Sat, Apr 16, 2016 at 5:27 AM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:

> Le 16/04/2016 00:00, Gianluigi a écrit :
> > Unfortunately, even with the trunk, does not change anything
> > With $hTray.Delete() I do not go out from application and Quit gives me
> > warnigs.
> > Regards
> > Gianluigi
> >
>
> You must hide the trayicon to allow the application to quit.
>
> --
> Benoît Minisini
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


MyTrayen-0.0.1.tar.gz
Description: GNU Zip compressed data
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TrayIcon question

2016-04-15 Thread Benoît Minisini
Le 16/04/2016 00:00, Gianluigi a écrit :
> Unfortunately, even with the trunk, does not change anything
> With $hTray.Delete() I do not go out from application and Quit gives me
> warnigs.
> Regards
> Gianluigi
>

You must hide the trayicon to allow the application to quit.

-- 
Benoît Minisini

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TrayIcon question

2016-04-15 Thread Gianluigi
Unfortunately, even with the trunk, does not change anything
With $hTray.Delete() I do not go out from application and Quit gives me
warnigs.
Regards
Gianluigi

2016-04-15 15:59 GMT+02:00 Benoît Minisini :

> Le 15/04/2016 15:53, Gianluigi a écrit :
> > Thank you  Zainudin,
> > unfortunately, also with your interesting code, I do not go out from
> > application.
> > See attached image (Stop is red).
> > Regards
> > Gianluigi
> >
>
> The bug should be fixed in revision #7745.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Trunk compilation error

2016-04-15 Thread Gianluigi
Yes Benoit, very well thank you
Regards
Gianluigi

2016-04-15 23:11 GMT+02:00 Benoît Minisini :

> Le 15/04/2016 23:09, Benoît Minisini a écrit :
> > Le 15/04/2016 23:01, Gianluigi a écrit :
> >> I tried to install the latest trunk of a virtual machine with Ubuntu
> >> 15.10.
> >> The clone with an already installed Gambas3 stable 3.8.4.
> >> I attach log files with errors, and system informations of the clone
> with
> >> stable.
> >> Regards
> >> Gianluigi
> >>
> >
> > Oops, sorry, I forgot to commit some files!
> >
>
> Is it better with revision #7746?
>
> --
> Benoît Minisini
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Trunk compilation error

2016-04-15 Thread Benoît Minisini
Le 15/04/2016 23:09, Benoît Minisini a écrit :
> Le 15/04/2016 23:01, Gianluigi a écrit :
>> I tried to install the latest trunk of a virtual machine with Ubuntu
>> 15.10.
>> The clone with an already installed Gambas3 stable 3.8.4.
>> I attach log files with errors, and system informations of the clone with
>> stable.
>> Regards
>> Gianluigi
>>
>
> Oops, sorry, I forgot to commit some files!
>

Is it better with revision #7746?

-- 
Benoît Minisini

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Trunk compilation error

2016-04-15 Thread Benoît Minisini
Le 15/04/2016 23:01, Gianluigi a écrit :
> I tried to install the latest trunk of a virtual machine with Ubuntu 15.10.
> The clone with an already installed Gambas3 stable 3.8.4.
> I attach log files with errors, and system informations of the clone with
> stable.
> Regards
> Gianluigi
>

Oops, sorry, I forgot to commit some files!

-- 
Benoît Minisini

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Trunk compilation error

2016-04-15 Thread Gianluigi
I tried to install the latest trunk of a virtual machine with Ubuntu 15.10.
The clone with an already installed Gambas3 stable 3.8.4.
I attach log files with errors, and system informations of the clone with
stable.
Regards
Gianluigi


compile.log.tar.bz2
Description: BZip2 compressed data


SystemInformation
Description: Binary data
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #752: Gambas shows - gbx3: warning: trying to watch fd #-1

2016-04-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.752=L21haW4-

Alexander KUIPER added an attachment:

TestSocket.example.tar.gz



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #752: Gambas shows - gbx3: warning: trying to watch fd #-1

2016-04-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.752=L21haW4-

Comment #3 by Alexander KUIPER:

Ok, finally found the way to reproduce it with a simple project (with a bigger 
project is it more visible). Also reproduced on Gambas3 3.8.4.

To reproduce it, do as follows:
- gunzip/tar the testsocket.example.tar.gz
- in the "TestSocket" you will find 2 files: "test.sh" and "TestSocket.gambas"
- Start TestSocket.gambas in a normal window
- Start test.sh in another window
- Wait about 5-10 minutes (max), and you will see the message "gbx3: warning: 
trying to watch fd #-1"

Alexander KUIPER changed the state of the bug to: Opened.



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #918: Debian package does not build if it relies on library

2016-04-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.918=L21haW4-

C THAL reported a new bug.

Summary
---

Debian package does not build if it relies on library

Type : Bug
Priority : High
Gambas version   : 3.8.90 (TRUNK)
Product  : Development Environment


Description
---

If I build a Debian package from a project or a library, which uses a Gambas 
lib named "deglib-gb" it does not build correctly:

dpkg-gencontrol: Warnung: Abhängigkeit gambas3-:deganius/deglib-gb:1-2 (>= 3.8) 
kann nicht ausgewertet werden

That means:

dpkg-gencontrol: warning: can't parse dependency 
gambas3-:deganius/deglib-gb:1-2 (>= 3.8)

There seems to be a problem with the string "gambas3-:deganius/deglib-gb". The 
correct name of the Debian package is deganius-deglib-gb, because it uses the 
vendor-name "Deganius".





--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #918: Debian package does not build if it relies on library

2016-04-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.918=L21haW4-

C THAL added an attachment:

buildlog.txt



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TrayIcon question (Plasma)

2016-04-15 Thread T Lee Davidson
On 04/14/2016 02:01 PM, Benoît Minisini wrote:
> Le 14/04/2016 19:46, Gianluigi a écrit :
>> Excuse me Lee,
>> I did not believe that I created a monster, with so few lines of code.
>> Ciao
>> Gianluigi
>>
>
> What make Plasma crashes is setting the menu. I will investigate why
> exactly... I surely badly implemented a DBus answer for a corner case,
> but Plasma should not crash just because of a trayicon!
>

I don't know if it's related, but I noticed that Gambas does not seem to 
recognize that I do indeed have libQt5Core.so 
installed; while Jussi's and GianLuigi's do show libQt5Core in their system 
information.

`locate libQt5Core.so`:
/usr/lib64/libQt5Core.so
/usr/lib64/libQt5Core.so.5
/usr/lib64/libQt5Core.so.5.5
/usr/lib64/libQt5Core.so.5.5.1


[System]
Gambas=3.8.4
OperatingSystem=Linux
Kernel=4.1.20-11-default
Architecture=x86_64
Distribution=SuSE NAME="openSUSE Leap"
VERSION="42.1"
VERSION_ID="42.1"
PRETTY_NAME="openSUSE Leap 42.1 (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:42.1"
BUG_REPORT_URL="https://bugs.opensuse.org;
HOME_URL="https://opensuse.org/;
ID_LIKE="suse"
Desktop=KDE5
Theme=Breeze
Language=en_US.UTF-8
Memory=2001M

[Libraries]
Cairo=libcairo.so.2.11400.2
DBus=libdbus-1.so.3.8.11
GStreamer=libgstreamer-1.0.so.0.405.0
GTK+2=libgtk-x11-2.0.so.0.2400.29
OpenGL=libGL.so.1.2.0
QT4=libQtCore.so.4.8.6 **

[Environment]
--snipped--

** No libQt5Core in Libaries.


-- 
Lee
__

"Artificial Intelligence is no match for natural stupidity."

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TrayIcon question

2016-04-15 Thread Gianluigi
Thank you very much Benoit
Regards
Gianluigi

2016-04-15 15:59 GMT+02:00 Benoît Minisini :

> Le 15/04/2016 15:53, Gianluigi a écrit :
> > Thank you  Zainudin,
> > unfortunately, also with your interesting code, I do not go out from
> > application.
> > See attached image (Stop is red).
> > Regards
> > Gianluigi
> >
>
> The bug should be fixed in revision #7745.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TrayIcon question

2016-04-15 Thread Benoît Minisini
Le 15/04/2016 15:53, Gianluigi a écrit :
> Thank you  Zainudin,
> unfortunately, also with your interesting code, I do not go out from
> application.
> See attached image (Stop is red).
> Regards
> Gianluigi
>

The bug should be fixed in revision #7745.

Regards,

-- 
Benoît Minisini

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TrayIcon question

2016-04-15 Thread Gianluigi
Thank you  Zainudin,
unfortunately, also with your interesting code, I do not go out from
application.
See attached image (Stop is red).
Regards
Gianluigi

2016-04-15 2:26 GMT+02:00 zainudin ahmad :

> That is from your code, maybe this can help.
>
> - Set property Persistent (Form property) to true (
> http://gambaswiki.org/wiki/comp/gb.qt4/window/persistent)
> - Use _new() event instead open()
> - When close(exit) don't use quit, just set me.persistent = false and
> $hTray.Delete()
>
> attach fix project :) , I hope it's work
>
> On Thu, Apr 14, 2016 at 10:29 PM, Gianluigi  wrote:
>
> > I can not understand how works TrayIcon.
> > Can someone help me.
> > Attached small demonstration who gives me these Warnigs:
> >
> > gbx3: warning: circular references detected:
> > gbx3: 1 FMain
> > gbx3: 1 DBusStatusIcon
> > gbx3: 1 DBusStatusIconMenu
> > gbx3: 1 TrayIcon
> > gbx3: 4 DBusObject
> > gbx3: 1 Picture
> > gbx3: warning: 192 allocation(s) non freed.
> >
> > Regards
> > Gianluigi
> >
> >
> >
> --
> > Find and fix application performance issues faster with Applications
> > Manager
> > Applications Manager provides deep performance insights into multiple
> > tiers of
> > your business applications. It resolves application problems quickly and
> > reduces your MTTR. Get your free trial!
> > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user