xtemp09
xtemp09
I cannot reproduce this slowdown on Windows 10. Windows 10 build 19044 ```ruby OS: Windows 10 build 19044 Word size of FreeCAD: 64-bit Version: 0.22.0dev.34594 (Git) Build type: Release Branch:...
@dominikh, if you replace ```cpp void MainWindow::setPaneText(int i, QString text) ``` with ```cpp void MainWindow::setPaneText(int i, const QString &text) ``` do you notice the slowdown? Of course, one needs to...
I tried to reproduce and so far, I succeeded in making FreeCAD produce crashlessly this message: ``` Sketcher constraint number 2 is malformed! Traceback (most recent call last): File "",...
I ought to add ― the crash report applied has nothing to do with the video. In the crash report, the user is doing chamfer. In the video you are...
```ruby QString major = QString::fromUtf8(config["BuildVersionMajor"].c_str()); ``` Can I ask, why is there a conversion via `const char *`? Has `QString QString::fromStdString(const std::string &str)` [^1] been considered buggy? [^1]: https://doc.qt.io/qt-5/qstring.html#fromStdString Fragment...
Alright. Perhaps, it would be even better to utilize `constexpr QStringView`, `std::string_view` or `QStringLiteral`, since the version numbers are made with `#define`.
When something is modified, * is added in the end of the name, like in _TechDraw_ https://github.com/FreeCAD/FreeCAD/blob/0d37ea26291b282f59b55210c43cd612d23398de/src/Mod/TechDraw/Gui/MDIViewPage.cpp#L114-L116 or _Spreadsheet_ https://github.com/FreeCAD/FreeCAD/blob/0d37ea26291b282f59b55210c43cd612d23398de/src/Mod/Spreadsheet/Gui/ViewProviderSpreadsheet.cpp#L140-L141 or here https://github.com/FreeCAD/FreeCAD/blob/0d37ea26291b282f59b55210c43cd612d23398de/src/Gui/MDIView.cpp#L170-L172 or here https://github.com/FreeCAD/FreeCAD/blob/0d37ea26291b282f59b55210c43cd612d23398de/src/Gui/TextDocumentEditorView.cpp#L102-L103 In the commit the...
I have compiled _FreeCAD_ with _gprof_ and pressed some buttons in _PartDesign_, _Sketcher_ and more buttons in _TechDraw_. The output says that _FreeCAD_ spends time dealing with `std::string`. Perhaps, this...
Fine, I'll try Google's Orbit or tweak some options to get more useful information about the performance. But I'm right that the power of `std::string_view` (`QStringView`, `std::span` and other) must...
@PaddleStroke, have you tested _QGoodWindow_ on both _Wayland_ and _X_?