Comments (4)
True, my guess it because there is no cache for desktop entries icons.
from libfm-qt.
I had the same thought, but further investigation showed that the cache existed and worked fine.
Then, I thought that reading of desktop entries might be CPU-intensive, but that theory proved to be wrong too.
I'm suspicious of GLib: some of its icon functions may cause this. There should be a reason why Nautilus doesn't show desktop icons by default (it didn't a year ago, when I tested it).
from libfm-qt.
BTW, I found a reason to generalize the option for disabling smooth scrolling: here, it's choppy with a maximized window inside /usr/share/applications/
. Smooth scrolling itself isn't the culprit, because it's really smooth inside a folder with more than 600 different icons (from an icon set) or elsewhere.
At least some users will be happy ;)
from libfm-qt.
Mystery solved!. The culprit is nether GLib nor Qt, but this line in pcmanfm-qt:
// decrease the cache size to reduce memory usage
QPixmapCache::setCacheLimit(2048);
While developers of some well-known desktop environments justify wasting of system resources by telling how "modern computers" can handle it, we think in terms of 20th century computers. Even if we care for ancient systems, we should prioritize CPU over RAM by leaving the cache to Qt (10240 KB by default).
Long story made short, although the first loading of /usr/share/applications/
after a boot takes longer compared to other folders, its extra CPU usage after that is only because of the above line.
I'll test for a while and then remove that line if everything goes well.
from libfm-qt.
Related Issues (20)
- libfm-qt6: Emptying Trash (in LXQt file dialog) causes a crash HOT 3
- Thumbnails 4mb is the default in file dialog. HOT 8
- Saving a file without its file extension takes the default literally HOT 2
- Treat desktop entry icons like thumbnails HOT 1
- Enter key for SaveAs sometimes does not enter directory. HOT 2
- WARNING: Please do not silence compilation warnings of Qt5-based libfm-qt
- Crash in `PathBar::closeEditor` HOT 1
- allow using any terminal emulator specified by programs instead of only from a list file HOT 3
- Renaming a file upon completion causes the previous file to be selected HOT 3
- lxqt-menu-data is not specified as a build dependency of libfm-qt in the README file
- Update `archivers.list` and `lxqt-archiver` after recent changes in some MIME type strings HOT 6
- Add "Downloads" to places menu HOT 1
- Enable custom_args in terminal.cpp
- Rmdir installation error on Qt6 HOT 7
- Allowing pasting of full path into "File name" entry? HOT 4
- libfm-qt still requires gtk2 HOT 3
- Side Pane font does not change on-the-fly anymore (regression?) HOT 33
- File Properties windows open behind and stay behind File Dialog HOT 11
- [Feature request] PeaZip archiver integration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libfm-qt.