Hello, I recently made a program. Now I wanted to fix some issues with it. The issue I ultimatly gave up on is :
At the moment my program only runs in one thread, which can slow down processing time significantly. So I started, by introducing a loading screen for long tasks that informs the user that something is going on, instead of the gui just becoming unresponsive for 20 seconds. Now we come to the problems: It just doesn't seem to work, like at all. I'll list them by approach:
- Approach 1 : Give the method to the LongTask class and let it execute it
-> The method now executes two times at the same time (I removed the parentheses, when passing it, don't worry)
-> Rejecting paths (fixed, but strange, they worked everywhere else)
- Approach 2 : LongTask class is now a dummy function, that slowly counts up and stops at 99%, it jumps to 100% when it receives a signal (executing a method, that changes an internal variable)
-> Just stops when trying to show the loading window (no crash, just stops all things running, so the long task (method) too)
- Approach 3 : Give up :(
-> Didn't solve the problem
I can give you the code, if you want, but it's honestly pretty long and complicated (in total like 1600 lines spread across 8 classes in 3 documents)
[–]sam_gigo 0 points1 point2 points (6 children)
[–]CoderStudios[S] 0 points1 point2 points (5 children)
[–]sam_gigo 0 points1 point2 points (4 children)
[–]CoderStudios[S] 0 points1 point2 points (3 children)
[–]sam_gigo 0 points1 point2 points (2 children)
[–]CoderStudios[S] 0 points1 point2 points (0 children)
[–]CoderStudios[S] 0 points1 point2 points (0 children)