Bug 433981

Summary: Table design causes 100% CPU usage.
Product: [Applications] KEXI Reporter: lentz.ethan
Component: GeneralAssignee: Kexi Bugs <kexi-bugs>
Status: REPORTED ---    
Severity: normal CC: adam, inksi
Priority: NOR    
Version: 3.2.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: CPU usage in htop

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.