|
|
Home » Community » U++ community news and announcements » SetRect "MegaRect" support...
|
Re: SetRect "MegaRect" support... [message #60977 is a reply to message #60974] |
Wed, 16 October 2024 09:48   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
Lance wrote on Tue, 15 October 2024 23:56mirek wrote on Tue, 15 October 2024 03:02Lance wrote on Mon, 14 October 2024 17:37ok. please see attached.
Thanks it, hopefully getting close... More logs added, so please repeat after pulling "logs" branch...
Also, I have potential fix included, but I really would like to get freezed log first to confirm my theory...
After that, you can try to activate the fix, uncomment / #if 1
CtrlCore/CtrlPos.cpp:157
CtrlCore/CtrlDraw.cpp:52
Mirek
I have actived the tentative fix. I am about to start testing the fix.
Oops, no, I would really like to see the new log before the fix! (Just to confirm I am fixing the right problem this time).
|
|
|
Re: SetRect "MegaRect" support... [message #60979 is a reply to message #60977] |
Wed, 16 October 2024 15:17   |
Lance
Messages: 656 Registered: March 2007
|
Contributor |
|
|
mirek wrote on Wed, 16 October 2024 03:48Lance wrote on Tue, 15 October 2024 23:56mirek wrote on Tue, 15 October 2024 03:02Lance wrote on Mon, 14 October 2024 17:37ok. please see attached.
Thanks it, hopefully getting close... More logs added, so please repeat after pulling "logs" branch...
Also, I have potential fix included, but I really would like to get freezed log first to confirm my theory...
After that, you can try to activate the fix, uncomment / #if 1
CtrlCore/CtrlPos.cpp:157
CtrlCore/CtrlDraw.cpp:52
Mirek
I have actived the tentative fix. I am about to start testing the fix.
Oops, no, I would really like to see the new log before the fix! (Just to confirm I am fixing the right problem this time).
That's exactly what I did. See the post prior to that for the attached zipped log file. Thanks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: SetRect "MegaRect" support... [message #61046 is a reply to message #61044] |
Mon, 21 October 2024 23:59   |
Lance
Messages: 656 Registered: March 2007
|
Contributor |
|
|
No. It was fine. But after it froze, I left it unkilled for a while, afraid of another run will erase the log file. OK, here I got a log file from ide.
It has been in good condition after many suspension-resume sessions. Just now I decided to give it some focus. I moved it from one monitor to another, dragged another window from another monitor to the one ide resided, and on top of ide, keeping mouse down and adjusting its position until I saw a color changing in ide underneath the window I was playing with, signalling possibly negotiating drag-n-drop(?). It successfuly brought down ide. It doesn't always. But it seems this set of actions is dangerous to ide. It breaks under other totally unrelated, unrecorded sequence of actions too.
BTW, please feel free to delete used log files from uppweb to free up resouces. Or maybe I shall do that?
[Updated on: Wed, 23 October 2024 20:09] Report message to a moderator
|
|
|
Re: SetRect "MegaRect" support... [message #61047 is a reply to message #61046] |
Tue, 22 October 2024 10:19   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
Lance wrote on Mon, 21 October 2024 23:59No. It was fine. But after it froze, I left it unkilled for a while, afraid of another run will erase the log file. OK, here I got a log file from ide.
It has been in good condition after many suspension-resume sessions. Just now I decided to give it some focus. I moved it from one monitor to another, dragged another window from another monitor to the one ide resided, and on top of ide, keeping mouse down and adjusting its position until I saw a color changing in ide underneath the window I was playing with, signalling possibly negotiating drag-n-drop(?). It successfuly brought down ide. It doesn't always. But it seems this set of actions is dangerous to ide. It breaks under other totally unrelated, unrecorded sequence of actions too.
BTW, please feel free to delete used log files from uppweb to free up resouces. Or maybe I shall do that?
By "brought down" do you mean crash or (the usual) repainting stopped?
If the second one, it starts to look like yet another xwayland bug (assuming you run wayland - I think you do). Log clearly shows that I call gdk_window_invalidate_rect with proper parameters (it is the INVALIDATE word in the log), after which gtk is supposed to call me back and do the repaint (GtkDraw in the log). Log shows the repaint properly happens at the beginning, but then stops doing so near the end of log....
Anyway, I have added even more logging, so please one last time pull logs branch and keep testing...
|
|
|
Re: SetRect "MegaRect" support... [message #61050 is a reply to message #61047] |
Tue, 22 October 2024 18:24   |
Lance
Messages: 656 Registered: March 2007
|
Contributor |
|
|
mirek wrote on Tue, 22 October 2024 04:19
By "brought down" do you mean crash or (the usual) repainting stopped?
repainting stopped.
Quote:
If the second one, it starts to look like yet another xwayland bug (assuming you run wayland - I think you do). Log clearly shows that I call gdk_window_invalidate_rect with proper parameters (it is the INVALIDATE word in the log), after which gtk is supposed to call me back and do the repaint (GtkDraw in the log). Log shows the repaint properly happens at the beginning, but then stops doing so near the end of log....
Glad to know the culprit is pinpointed. Guess there is not much we can do on u++ side.
Quote:
Anyway, I have added even more logging, so please one last time pull logs branch and keep testing...
Test going on.
PS[Wed, 23 October 2024 14:11]: whatever you have done last time has made u++ more resistant to freeze problem. I cannot tell it's completely fixed but so far both logs-ide and my app build with logs-branch u++ have been fine while master branch ones having failed multiple times. I will keep watching.
[Fri, 25 October 2024 17:22] so far no problem.
[Updated on: Fri, 25 October 2024 23:23] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Jun 12 20:34:05 CEST 2025
Total time taken to generate the page: 0.05158 seconds
|
|
|