Recent

Author Topic: popupnotifier and Qt5  (Read 512 times)

linuxer

  • New Member
  • *
  • Posts: 46
  • Systemd kills Linux Freedom Move to Artix Linux
    • Linuxer
popupnotifier and Qt5
« on: November 05, 2020, 11:41:59 pm »
Hi,

I tried to build and run one of my projects, from GTK2 to Qt5 LCLWidgetType, and I am facing troubles with popupnotifiers, either not showing, or showing and freeze on screen, or showing and closing unexpectedly.

I am using FPC 3.3.1, on Linux.

Any help, in this regard, will be appreciated.

dbannon

  • Hero Member
  • *****
  • Posts: 1260
    • tomboy-ng, a rewrite of the classic Tomboy
Re: popupnotifier and Qt5
« Reply #1 on: November 06, 2020, 01:47:02 am »
You don't mention what OS you are using, but tag line might indicate Linux.

libnotify does a much nicer job on Linux than popupnotify.  I have a unit that decides, depending on OS, to use either TPopupNotify or libnotify.  Works fine on Linux, Windows and Mac. Does need multithreading ....

notifier.pas in project listed below.

Davo

Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

linuxer

  • New Member
  • *
  • Posts: 46
  • Systemd kills Linux Freedom Move to Artix Linux
    • Linuxer
Re: popupnotifier and Qt5
« Reply #2 on: November 06, 2020, 10:19:07 am »
Thanks for your response,

I use Linux as it is stipulated on both my post and my tagline, so it is Artix Linux.

Will check libnotify and notifier.pas, but was considering an easier way, if exists, though.

Regards

linuxer

  • New Member
  • *
  • Posts: 46
  • Systemd kills Linux Freedom Move to Artix Linux
    • Linuxer
Re: popupnotifier and Qt5
« Reply #3 on: November 06, 2020, 06:28:32 pm »
Thanks for sharing.  :)

Works ootb in all current Linux DEs.

Regards

 

TinyPortal © 2005-2018