-
Notifications
You must be signed in to change notification settings - Fork 66
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
Appimage UX: Very long loading times of some Themes in AppImage #302
Comments
@MisterMakerNL FYI |
I thought it was not happening in revision 37543 but it is. I edited the first post. |
Same behaviour in revision 37298. When you confirm me this hypothesis, I can change the title of the issue. Loading_times_37928: Loading_times_37928.mp4Loading_times_37898: Loading_times_37898.mp4 |
@kadet1090 FYI |
I cannot reproduce this in windows with my own build. |
For me this needs to be proven whether it's a distro specific issue, an actual FreeCAD code (which is now looking less likely) issue or a Conda packaging issue. As the OP's distro is originally based on Bookworm and I already have a Bookworm VM, I'll try that first. If needed I'll then build and attempt to compile on a VM of Devuan GNU/Linux 5 (daedalus) (XFCE/xfce). |
Could not reproduce the reported issue using Bookworm:
|
Can reproduce the reported issue using AppImage on Bookworm, going from Dark behave to Light theme is like watching paint dry and I can get it to raise FreeCAD 0.22dev is not responding Force Quit/Wait messagebox but the other way round is acceptable.
I have an older AppImage build 37302 which I'll have to extract and change the stylesheets over but that still won't prove if it's a Conda dependency that's changed, it really needs someone who can compile on Conda IMHO. |
Last lag issues where cause by switching Qstyle. But I also see issues with pixmap generation. |
@MiqCG could you please change the title of the issue to specifically mention applies to the AppImage specifically. @MisterMakerNL with the AppImage extracted it's absolutely acceptable so it doesn't seem to be a code or stylesheet issue, it's only with the AppImage in it's original state that the time to change is six to seven times longer. |
@Syres916 , what about "Very long loading times of some Themes in AppImage"? |
Absolutely fine, thanks. |
ive been having terrible freezes with the appimage weeklies for at least a couple months now. here you can see it using only the classic theme selection from start after deleting the freecad Screencast_20240702_144457.webm
|
I have the same issue mentioned as above. UI freezes for x seconds for every operation that is being done in FC. Sometimes It works, and I am able to do two operations. But sometimes just clicking on Create Parametric part in the start page freezes the UI for a good amount of time.
|
should be fixed |
then the appimage freezes im having are unrelated as they continue as of:
|
@kinghat does it happen in any particular scenario? |
I btw see you have opentheme, there was a bug in opentheme where the qtstyle script kept doing it thing causing lag. |
in freecad ive been running the most up 2 date of everything. most recent addons/themes/dev builds. also fedora which is basically the most up 2 date of everything kde as well. theres a post on the forum: https://forum.freecad.org/viewtopic.php?t=87325 where other kde people are having the exact same issue. |
Is this specific to KDE ? |
i believe so. |
Keeps happening with revision 38334 in an updated Linux Devuan 5 XFCE desktop. |
@MiqCG can you please add the full About info to your post? TIA |
This is a first impression UX issue and frankly kind of embarrassing if we release 1.0 with it still open. The wait time is misleading and people think FC has crashed since there is no visual indication that the operation is ongoing. |
@probonopd any chance you could help troubleshoot the delay ? |
Can we check if it is the preference pack or the stylesheet. And if the stylesheet, can we check if it is the overlay stylesheet or the normal one or maybe both? |
@MisterMakerNL It's a vanilla install for me so no preference packs enabled. These are the bundled themes/stylesheets that come installed. I'll check if overlay is enabled. I don't think it is enabled by default on vanilla installs, right ? |
@MisterMakerNL this testing was carried out using build 38827 AppImage, extracting and then repacking the AppImage after each change to the
|
Do you check if the latest stylesheet are installed, or are you doing a fresh install? I have had issues where it didn't overwrite the older stylesheets? |
My testing was with no existing user.cfg/system.cfg/FreeCAD.conf config files and only using the stylesheets provided in the AppImage, no other stylesheets/addons were involved. It's quite clear that the more lines of text in any of the cfg or qss files makes the changeover longer, as simple as that IMHO. It's basically 5.5 times slower as a packed AppImage versus an extracted one. |
But we are talking about files less then 80Kb that should needn't need 30 second load time... |
Does this happen only on KDE Plasma on Wayland? Then it might be related to AppImage/AppImageKit#1351, the root cause of which is still unknown. Can it be confirmed that the slowdown doesn't happen if one runs with |
Nope, I used
I'll report back when my box is freed up from compiling. |
@probonopd using |
Is this on Wayland? If so, can you try on Xorg? |
I thought the information above was clear that it's not on Wayland it's X-Cinnamon |
OK, then I don't have a hypothesis at the moment. Might be worth to experiment with different compression algorithms (we want to standardize on zstandard) and compression levels. |
think this is fixed here: https://bugs.kde.org/show_bug.cgi?id=492584 my freecad freezing issues are not this one. also not sold on themes being the issue either. |
is this still relevant? |
i no longer have freezing/loading issues with the appimage on:
|
I think it is still relevant but you can judge if the times are correct.
Isn't curious the time difference?
|
Maybe it would help to check with |
Didn't know |
You will probably need |
I have made On the other hand |
I'm not sure if this is a bundling issue tbh. Seems like a coding issue: I have noticed it's only slow when choosing in Preference manager and not when choosing on setup start page. |
Very long pauses (stalled, unresponsive) between any UI interactions. Open AppImage, chose Dark Theme, clicked New Parametric Part... 5 - 10 seconds of unresponsiveness.
|
what plasma version? you need to be on 6.2 or higher iirc. |
Is there an existing issue for this?
Problem description
When in Light theme, shortcut for new file (Control + n) and others (Alt + f , Alt + e) don't work. If new file is created throw File menu with the mouse, then they work (see indications in the bottom part of the screencast).
I think there is the same problem with revision 37841 and 37543.
In some situations, clicking with the mouse on the menu bar doesn't work either.
On the other hand, looks like loading/activating the Light theme is much much slower than Classic theme, as you can see in the attached video.
I have searched in Github for [is:issue light theme shortcut] and [is:issue light theme new file] with no relevant results
Full version info
Subproject(s) affected?
Core
Anything else?
Light_theme.mp4
Code of Conduct
The text was updated successfully, but these errors were encountered: