kcjengr / qtpyvcp

QtPyVCP - Qt and Python based Virtual Control Panel framework for LinuxCNC.
https://www.qtpyvcp.com
Other
90 stars 50 forks source link

Errors behind main GUI with Mate window manager #51

Closed sttts closed 3 years ago

sttts commented 4 years ago

The error popups show up behind the qtpyvcp main (fullscreen) window, i.e. invisible in normal operations.

Debian 10 Buster with Mate and marco window manager.

TurBoss commented 4 years ago

Hello,

the fullscreen mode has some issues with the notification popups they can't go more levels up than the full screen

TurBoss commented 4 years ago

Hello,

sorry for the late reply this may be fixed in #56

Thanks for the report

sttts commented 4 years ago

Doesn't look it is fixed.

Talking about these notifications:

Bildschirmfoto 2020-10-27 um 22 40 18
sttts commented 4 years ago

These are linuxcnc widgets, aren't they? I.e. not Qt and hence with a different parent window.

TurBoss commented 4 years ago

Thanks! I managed to fix the notifications :partying_face:

thoose fixes are on latest master

These are linuxcnc widgets, aren't they? I.e. not Qt and hence with a different parent window.

The native notifications which come configured on ProbeBasic are made with QWtidgets There is a option in custom_comfig.yml that allows you to switch to DBus based notifications but doesn't work on all systems

https://github.com/kcjengr/probe_basic/blob/master/config/probe_basic/custom_config.yml something like...


data_plugins:
  notifications:
    provider: qtpyvcp.plugins.notifications:Notifications
    kwargs:
      enabled: True | False
      mode: native | dbus

and again thanks for the feddback!

sttts commented 4 years ago

With dbus I now get visible notifications. Unfortunately, only one. If there are two or more notifications only the last one is visible.

TurBoss commented 3 years ago

trigger dbus notifications by hand does the same... only the latest is shown


$ notify-send "Title" "Message"
sttts commented 3 years ago

Compare https://github.com/kcjengr/qtpyvcp/tree/Notifictions. There @TurBoss prototyped setting the notification widget's parent to the main window. This works for me with Mate window manager.

TurBoss commented 3 years ago

I only need to ask @KurtJacobson if this is the correct place to init post main window

https://github.com/kcjengr/qtpyvcp/compare/Notifictions#diff-94fc3bc6e7fc8a770ba01b4c3b7d5117a29f10243fb0eb988bf0b4ebee3bcdd2R254

TurBoss commented 3 years ago

done thanks for the feedback