Bug in messege output

More
24 Feb 2021 21:27 - 25 Feb 2021 06:27 #200034 by aleksamc
I add photo of the messege output.

It seems that when text in output messege (debug, .... system messege) text become very wide, it hides out of the screen and I even can't close messege windows.

I also see, that when I change some value with mouse in qhspinbox (sorry if I wrong in naming), I can't move axes with keyboard default keys or any other jog commands from qtpyvcp. Possibly it goes in some manual mode or something else.
Attachments:
Last edit: 25 Feb 2021 06:27 by aleksamc.

Please Log in or Create an account to join the conversation.

More
24 Feb 2021 21:41 #200040 by tommylight
Replied by tommylight on topic Bug in messege output
Cant help, but glad i can still read a bit of cyrillic !
Klaviatura = keyboard
:)
The following user(s) said Thank You: aleksamc

Please Log in or Create an account to join the conversation.

More
25 Feb 2021 06:26 #200062 by aleksamc
Replied by aleksamc on topic Bug in messege output
how to make automatic translation was apcent in tutorials :)

Please Log in or Create an account to join the conversation.

More
13 May 2021 18:28 #208747 by aleksamc
Replied by aleksamc on topic Bug in messege output
so, does any body knows how to fix that bug in long messeges? They are very troubling.

Please Log in or Create an account to join the conversation.

More
18 May 2021 11:22 #209339 by aleksamc
Replied by aleksamc on topic Bug in messege output
Does it's possible to control closing messege output for many texts? It's really irritates?
I didn't upload to new pyQTvcp. Will it help?
Attachments:

Please Log in or Create an account to join the conversation.

More
31 Jul 2021 08:08 #216429 by aleksamc
Replied by aleksamc on topic Bug in messege output
I have updated to last version to qtpyvcp with pip.
But I still feel problem with messege output for big texts.
As on the picture - it's impossible to close this messege windows.
So does it's possible to disable such kind output messeges and to leave only small messeges?  
 

As for this error, I don't know how to solve this, sometimes PC maid lags and this messege shows up. But it do nothing for program. It would be very nice to have some botton to close this windows may be in qtpyvcp UI.
Attachments:

Please Log in or Create an account to join the conversation.

More
31 Jul 2021 09:36 #216435 by TurBoss
Replied by TurBoss on topic Bug in messege output
hello,

you can try the dbus notifications by adding this to the vcp yml
data_plugins:
...
notifications
:
provider: qtpyvcp.plugins.notifications:Notifications
kwargs:
# show notification popups
enabled: True
# "native" or "dbus"
mode: native
# max number of notifications to show
max_messages: 5
# whether to save messages on exit
persistent: True


you may also need python-dbus

 
The following user(s) said Thank You: aleksamc

Please Log in or Create an account to join the conversation.

More
02 Aug 2021 09:12 #216677 by aleksamc
Replied by aleksamc on topic Bug in messege output
Thanks, TurBoss, for your answer.
I have python-dbus installed (possibly with installation qtpyvcp)

As for editing yml-file I don't understand what I should to edit.
I add my yml file to this post. What I should to change?
 

File Attachment:

File Name: config.yml.txt
File Size:1 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
02 Aug 2021 10:00 - 02 Aug 2021 10:03 #216683 by Joco
Replied by Joco on topic Bug in messege output
Look in your yaml file as posted for the section that has this text:
data_plugins:
status:
kwargs:
cycle_time: 75

The using the content TurBoss supplied make it look like:
data_plugins:
  status:
    kwargs:
      cycle_time: 75

  notifications:
    provider: qtpyvcp.plugins.notifications:Notifications
    kwargs:
      # show notification popups
      enabled: True
      # "native" or "dbus"
      mode: native
      # max number of notifications to show
      max_messages: 5
      # whether to save messages on exit
      persistent: True

Cheers - J.
Last edit: 02 Aug 2021 10:03 by Joco.

Please Log in or Create an account to join the conversation.

More
02 Aug 2021 14:26 #216702 by aleksamc
Replied by aleksamc on topic Bug in messege output
Thanks, Joco. I think I understand.
Tomorrow I will try how it works.

Please Log in or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.203 seconds
Powered by Kunena Forum