Bug 433981 - Table design causes 100% CPU usage.
Summary: Table design causes 100% CPU usage.
Status: REPORTED
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 3.2.0
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-05 06:37 UTC by lentz.ethan
Modified: 2021-03-05 06:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
CPU usage in htop (68.38 KB, image/png)
2021-03-05 06:37 UTC, lentz.ethan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lentz.ethan 2021-03-05 06:37:19 UTC
Created attachment 136386 [details]
CPU usage in htop

SUMMARY
When opening a new table design, CPU usage on one core spikes to 100% and stays there as long as the table designer is open. This happens on an empty database with no other tables, forms or reports. 

STEPS TO REPRODUCE
1. Create a new blank database
2. Click "Create New Table"
3. Run htop in a terminal and watch CPU usage skyrocket

OBSERVED RESULT
One CPU core jumps to ~100% usage when the "create new table" designer is opened. 

EXPECTED RESULT
I would expect negligible CPU usage. 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
Linux Mint 20.1 Cinnamon & openSUSE Tumbleweed KDE
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I have tried Kexi 3.2.0 and 3.3.0 flatpacks and 3.2.0 .deb on Linux Mint Cinnamon and Kexi 3.2.0 .rpm on openSUSE Tumbleweed. This behavior affects all of them.