Environment: - KDE with Oxygen theme - ArchLinux (up to date) - kernelshark-v2.3.0 (Qt6 build) Note: I do not have any issue with kernelshark-v2.2.1. These bugs are triggered by the migration to Qt6. KsTraceViewer (the table widget) is not expanding vertically, the height is fixed (and quite small). I fix it this way (but I do not know if this is the proper way): In KsDataWidget constructor replace: this->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); By: this->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
Do you still see this problem after the fix in KsGLWidget? Thanks! Yordan
Created attachment 305707 [details] Sceenshot Yes the problem is still there. To show this problem, I recorded some random events generated on the 2 first cores using this command line: trace-cmd record -a -e "*" -o t2.dat -M 3
OK, please send your fix to the mailing list and we will discuss it there. Thanks! Y.
I'll try to investigate this problem properly this weekend, to try to understand what's really going on. I don't want to share a commit yet, which is certainly broken.
I sent a "few" fixes. Please provide feedback :-) Also for "reference" here the widget "layout": Central Widget: QSplitter - _graph (KsTraceGraph) - _layout (QVBoxLayout) - _pointerBar (QToolBar) - _labelP1 - _labelP2 - separator - _labelI1 - separator - _labelI2 - separator - _labelI3 - separator - _labelI4 - separator - _labelI5 - _navigationBar (QToolBar) - _scrollLeftButton - _zoomInButton - _zoomOutButton - _scrollRightButton - separator - _quickZoomInButton - _quickZoomOutButton - separator - label (empty) - _buttonA - _labelMA - separator - label (empty) - _buttonB - _labelMB - separator - _labelDeltaDescr - _labelDelta - _scrollArea (KsGraphScrollArea : QScrollArea) - _glWindow (KsGLWidget) - _view (KsTraceViewer) - _layout (QVBoxLayout) - _toolbar (QToolBar) - _labelSearch - _columnComboBox - _selectComboBox - _searchLineEdit - separator - _nextButton - _prevButton - separator - _searchProgBar (hidden) - _searchCountLabel - _searchStopButton (hidden) - _searchRestartButton (hidden) - separator - _graphFollowsCheckBox - _labelGrFollows - _view (KsTableView : QTableView)
You call this "few" ;-) I will have a look, but unfortunately this may take some time, because I can work on KernelShark only in my spare time. I will try to get all patches reviewed before the end of the week. Cheers, Y.