Skip to content
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

Delay in entering/exiting Prompt mode while in windowed mode #146

Closed
videosmith opened this issue Jan 18, 2023 · 18 comments
Closed

Delay in entering/exiting Prompt mode while in windowed mode #146

videosmith opened this issue Jan 18, 2023 · 18 comments
Assignees
Labels
distribution Packages, installers, and distribution methods more info needed More information is required to work on this issue unable-to-replicate
Milestone

Comments

@videosmith
Copy link

Bug Description
When in windowed mode, selecting 'Start Prompting' or 'Return to Edit Mode' results in ~2 second delay before text animates or returns to editor, no delay in FullScreen mode.

Expected behavior
Windowed mode should mirror FullScreen mode

Screenshots (optional)
info

Device information

  • QPrompt Version: qprompt-v1.1.3-aa79ad5-linux-gcc-x86_64.AppImage
  • Operating System: Debian 11, latest updates
@Cuperino
Copy link
Owner

I've seen this delay before but not only do I not know what causes it. The exact same build can sometimes exhibit this behavior in one system and work perfectly fine on another. Changing Qt and KF5 versions makes no difference in this regard.

When the issue happens to me, it's usually on a VM running Ubuntu 18.04. Because of this, I've brushed this issue off in the past as a problem with the VM or the operating system. You say you are running on Debian 11, which isn't known to manifest the issue. This leads me to think it may have something to do with hardware or that it may have to do with the way the AppImage's containerization works.

  • What CPU model and graphics card (if any) does this computer have?
  • Have you tried a different build, Flatpak or Snap?

@Cuperino Cuperino added the more info needed More information is required to work on this issue label Jan 19, 2023
@videosmith
Copy link
Author

videosmith commented Jan 19, 2023 via email

@Cuperino
Copy link
Owner

Great idea comparing against an older version.

Snap and Flatpak builds are now available for both x86_64 and arm64 systems. The Snap is using the exact same version of KDE Frameworks as the AppImage. The Flatpak uses a slightly newer version, which has a bug that causes playback controls not to be shown while in full screen.

@videosmith
Copy link
Author

Are the Flatpak and Snap build available in the SourceForge link?

Delays in all the following versions:
qprompt-main-0fbee21-linux-64-clang.AppImage
qprompt-v1.1-8fc947c-linux-64-clang.AppImage
qprompt-v1.1.1-a873a2e-linux-64-clang.AppImage

No delay in current Arm build.

@Cuperino
Copy link
Owner

All comparisons must be made from within the same computer for this test to work. So far, it may be an issue with the AppImage, but you must compare against the other universal packages to get a better understanding.

Snap and Flatpak installs can be found through pre-configured package managers or through the following links:

Buttons linking to those pages should also appear at https://qprompt.app when accessing the site through a Linux machine, with a browser that has JavaScript enabled.

@videosmith
Copy link
Author

Are there .deb builds I can install?

@Cuperino
Copy link
Owner

@videosmith
Copy link
Author

Will try that, thank you. As for the other packages:
Flatpak produced an error "Failed to install file: not supported"
Snap produced a command line error "This application failed to start because no Qt platform plugin could be initialized"
Possibly due to my ignorance of these delivery approaches, I will look into it.

@videosmith
Copy link
Author

No delay in qprompt-v1.1.3-aa79ad5-linux-gcc-x86_64.deb build
about

@Cuperino
Copy link
Owner

I'm planning to make another point release this weekend, to fix an issue with some translations not loading. Let me know if this issue happens to you with installation methods other than AppImage, to see if there's something I can do to improve it.

@videosmith
Copy link
Author

The delay appears to have disappeared with the 1.1.4 update.

@Cuperino
Copy link
Owner

Cuperino commented Feb 7, 2023

That's very strange... Did you test using the AppImage?

@videosmith
Copy link
Author

My mistake. Tested with the .deb install.

qprompt-v1.1.4-5801a58-linux-gcc-x86_64.Appimage will not run.

@Cuperino
Copy link
Owner

Cuperino commented Feb 7, 2023

What does it say if you launch the AppImage from a terminal? Remember that the AppImage from Craft only supports x86_64, so won't run on a Pi.

@videosmith
Copy link
Author

My mistake. Forgot to make AppImage executable :/

Yes, delay still exists in windowed mode.

@Cuperino
Copy link
Owner

Cuperino commented Feb 7, 2023

Used to happen to me all the time...

I figured it was probably that because I didn't changed anything that would affect the delay. Typically I make a new Craft install for each new build, but since the last one was less than a month old, and I didn't want to spend time fixing things if KDE broke something, I only updated QPrompt's source and left everything else intact.

@Cuperino
Copy link
Owner

Cuperino commented Oct 18, 2023

It's been a while since I last saw this issue occurring. Closing after 1.2 builds are made if I don't get to experience it again after testing all of the supported builds.

@Cuperino Cuperino added this to the 1.2 milestone Oct 18, 2023
@Cuperino Cuperino self-assigned this Oct 18, 2023
@Cuperino Cuperino added this to QPrompt Oct 18, 2023
@github-project-automation github-project-automation bot moved this to Uncategorized Issues in QPrompt Oct 18, 2023
@Cuperino Cuperino added the distribution Packages, installers, and distribution methods label Oct 18, 2023
@Cuperino Cuperino moved this from Uncategorized Issues to Builds & Packages in QPrompt Oct 18, 2023
@Cuperino
Copy link
Owner

I haven't had this issue in a looong time. It hasn't appeared in any of the Qt 6 builds. Closing for now, feel free to re-open.

@github-project-automation github-project-automation bot moved this from Builds & Packages to Done in QPrompt Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distribution Packages, installers, and distribution methods more info needed More information is required to work on this issue unable-to-replicate
Projects
Status: Done
Development

No branches or pull requests

2 participants