-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(main_event): Implement popup menu #218
Conversation
Implement the Mouse Popup Menu for events. d_rats/ui/event_popup_model.py: New module for EventPopupModel class. d_rats/ui/event_tab.py: Use EventPopupModel to implement mouse popup menu. d_rats/ui/message_list.py: Fix broken Docstrings. docs/source/d_rats.ui.rst: Add new modules for message and event classes.
This implements the Event Popup menu on the event display. This menu only seems to be available for File and Form transfer sessions while the session is in progress. The existing code has some bugs in it that will need to be addressed later. To test you need two d-rats clients that can communicate. Best works over a serial port, as internet may be too fast to catch. With this fork, you can run multiple d-rats clients on the same computer with different -c options and use two serial ports connected via a Null Modem to simulate radios.
|
Hi John 06/25/2022 19:18:18:INFO:D-Rats:main: re-config option found -- Reconfigure D-rats It keeps loading the standard one: 06/25/2022 19:18:18:INFO:DratsConfig:File C:/Users/mauri/AppData/Roaming/D-RATS-EV/d-rats.config 06/25/2022 19:18:18:INFO:MainApp:_refresh_lang: Loading locale `it' |
re-doing the test,
when I click the contextual menu on the event transfer is difficult to get, some times i clicked and it was not showing or showed and immediately disappeared once i was able to have it, clicking on "stop" i got the following error : Traceback (most recent call last): File "C:/msys64\home\mauri\D-Rats-wb8tyw_option/d_rats/mainapp.py", line 1255, in __user_stop_session KeyError: 4 |
That is part of an existing bug in the session manager and is #220 The transfers over a ratflector even for a 900Kb file are still probably still too fast to catch the transfer in a state that it can be stopped. |
I am not sure this it the reason as to be honest i can see the flow going
on for several minutes,... and in the event i can see the percentage not so
quickly as one would expect (also with smaller files it is not very fast)
Il giorno lun 27 giu 2022 alle ore 14:44 John E. Malmberg <
***@***.***> ha scritto:
… That is part of an existing bug in the session manager and is #220
<#220>
The transfers over a ratflector even for a 900Kb file are still probably
still too fast to catch the transfer in a state that it can be stopped.
—
Reply to this email directly, view it on GitHub
<#218 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2W7OU6S7QAXIEWAFI5U3TVRGO2BANCNFSM5ZZOLMXQ>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
Only the client that did not originate the transfer can do a stop or a cancel, and they can only do it once on that transfer. Attempting to do it more than once will trigger the known bug that you saw. The stop and cancel are of limited use. The resume, which can only done on the system that originated the transfer is of more use if you can get that far, as that can be the case of having a radio link drop. |
Implement the Mouse Popup Menu for events. d_rats/ui/event_popup_model.py: New module for EventPopupModel class. d_rats/ui/event_tab.py: Use EventPopupModel to implement mouse popup menu. d_rats/ui/message_list.py: Fix broken Docstrings. docs/source/d_rats.ui.rst: Add new modules for message and event classes. Co-authored-by: John E. Malmberg <wb8tyw@gmail.com>
Implement the Mouse Popup Menu for events. d_rats/ui/event_popup_model.py: New module for EventPopupModel class. d_rats/ui/event_tab.py: Use EventPopupModel to implement mouse popup menu. d_rats/ui/message_list.py: Fix broken Docstrings. docs/source/d_rats.ui.rst: Add new modules for message and event classes. Co-authored-by: John E. Malmberg <wb8tyw@gmail.com>
Implement the Mouse Popup Menu for events.
d_rats/ui/event_popup_model.py:
New module for EventPopupModel class.
d_rats/ui/event_tab.py:
Use EventPopupModel to implement mouse popup menu.
d_rats/ui/message_list.py:
Fix broken Docstrings.
docs/source/d_rats.ui.rst:
Add new modules for message and event classes.