[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #42 from RocketDev <13736845...@163.com> --- Is this problem solved now? Running under KDE 6.1.5 with X11, can not reproduce the problem on Arch Linux now. Global scale 1.5. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #41 from fanzhuyi...@gmail.com --- (In reply to David Smid from comment #40) > I have reported the duplicate https://bugs.kde.org/show_bug.cgi?id=490965 > (Plasma 6.1.3 X11 with Qt 6.7.2) and I can confirm this depends on hidpi > scale. > I was able to reproduce the bug for these scale values only: 1.5 and 1.5625 . If this only happens with certain scaling factors, then maybe this is caused by rounding errors in calculating the size. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #40 from David Smid --- I have reported the duplicate https://bugs.kde.org/show_bug.cgi?id=490965 (Plasma 6.1.3 X11 with Qt 6.7.2) and I can confirm this depends on hidpi scale. I was able to reproduce the bug for these scale values only: 1.5 and 1.5625 . -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 Christoph Feck changed: What|Removed |Added CC||da...@smidovi.eu --- Comment #39 from Christoph Feck --- *** Bug 490965 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 Christoph Feck changed: What|Removed |Added CC||cf...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #38 from Albert Astals Cid --- (In reply to Milian Wolff from comment #37) > I am again seeing this behavior on Plasma 6.0.1 X11 with Qt 6.6.2 - could it > still be broken there? If you're seeing it sure, as i said last month "It would be good if a KWin developer could investigate why that patch was problematic since it is part of Qt 6 so we will potentially have the same issue there (unless there was a related patch that we missed and is needed for it)" So there is either a KWin bug or a Qt6 bug, someone that knows and can reproduce the problem has to investigate. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #37 from Milian Wolff --- I am again seeing this behavior on Plasma 6.0.1 X11 with Qt 6.6.2 - could it still be broken there? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 fanzhuyi...@gmail.com changed: What|Removed |Added CC||richard.fol...@gmail.com --- Comment #36 from fanzhuyi...@gmail.com --- *** Bug 482099 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #35 from Milian Wolff --- I can confirm that the bug is gone with the revert in Qt5, thanks Albert! -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 Andreas Sturmlechner changed: What|Removed |Added CC||ast...@gentoo.org -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 blackst0ne changed: What|Removed |Added CC||blackst0ne...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 Albert Astals Cid changed: What|Removed |Added CC||aa...@kde.org --- Comment #34 from Albert Astals Cid --- We have reverted the path in qt-kde-patch-collection that seems to cause this. It would be good if a KWin developer could investigate why that patch was problematic since it is part of Qt 6 so we will potentially have the same issue there (unless there was a related patch that we missed and is needed for it) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 Albert Astals Cid changed: What|Removed |Added CC||2893353...@qq.com --- Comment #33 from Albert Astals Cid --- *** Bug 478141 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #32 from Milian Wolff --- I haven't found the time yet to replicate the bug in a live booted neon image (and won't be able to do that within the next week I'm afraid). But a potential fix has landed in qt5-kde, see https://invent.kde.org/qt/qt/qtbase/-/merge_requests/309 - so maybe I can just test that when I'm back in two weeks and see the issue persists here. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 Henry Zhang changed: What|Removed |Added CC||henry-...@qq.com --- Comment #31 from Henry Zhang --- Downgrading qt5-base from 5.15.11+kde+r147-1 to 5.15.11+kde+r146-1 fixes this issue for konsole on my machine Seems that the only difference is https://invent.kde.org/qt/qt/qtbase/-/commit/56faf7249c3857f80f6483c5070e7408c2d53961 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 fanzhuyi...@gmail.com changed: What|Removed |Added See Also||https://bugs.kde.org/show_b ||ug.cgi?id=478141 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #30 from fanzhuyi...@gmail.com --- (In reply to Milian Wolff from comment #29) > Hmm too bad, the plasma6 packages from that repo on Arch are not > co-installable with the plasma5 setup so that's not feasible. I think they are not supposed to be co-installable, since plasma 6 is meant to replace plasma 5, which is no longer maintained > Is the KDE Neon liveboot going to use Wayland or X11? I think you can choose when you boot up. > And do you mean the > testing image from https://neon.kde.org/download or which one exactly? Yeah that or the Unstable Edition. Both are on plasma 6 right now. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #29 from Milian Wolff --- Hmm too bad, the plasma6 packages from that repo on Arch are not co-installable with the plasma5 setup so that's not feasible. Do you happen to know who is packaging this? Would be great to work on co-instability instead of direct replacement. Is the KDE Neon liveboot going to use Wayland or X11? And do you mean the testing image from https://neon.kde.org/download or which one exactly? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #28 from fanzhuyi...@gmail.com --- (In reply to Milian Wolff from comment #27) > I cannot reproduce on plasma 6 yet, because there are no plasma 6 packages > yet. Thanks for your info! One way would be to test on a neon unstable live boot iso. That is probably the least disruptive way. There are also plasma 6 packages in the kde-unstable repo (https://wiki.archlinux.org/title/Official_repositories#kde-unstable). -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 Milian Wolff changed: What|Removed |Added Resolution|WAITINGFORINFO |--- Status|NEEDSINFO |CONFIRMED --- Comment #27 from Milian Wolff --- @fanzhuyifan: see the title of this bug report, it clearly says x11. I have version 21.1.11-1 installed. Plasma is version 5.27.10, Qt at 5.15.12 (with kde patches) - all from Archlinux packages. I cannot reproduce on plasma 6 yet, because there are no plasma 6 packages yet. @vlad: exporting that env var does not change anything, neither in my reproducer nor in konsole itself. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 --- Comment #26 from Vlad Zahorodnii --- Off by one errors seem like a highdpi scaling issue. What if you run konsole with QT_ENABLE_HIGHDPI_SCALING=0? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 fanzhuyi...@gmail.com changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|CONFIRMED |NEEDSINFO --- Comment #25 from fanzhuyi...@gmail.com --- (In reply to Milian Wolff from comment #20) > This code here is enough for me to trigger the behavior - it clearly isn't > konsole specific at all: > > ``` > #include > #include > #include > #include > #include > #include > #include > #include > #include > > int main(int argc, char** argv) > { > QApplication app(argc, argv); > > QMainWindow window; > > auto center = new QTabWidget; > window.setCentralWidget(center); > > auto tab = center->tabBar(); > > auto addTab = [tab]() { > static int counter = 0; > tab->addTab(QString::number(counter++)); > qWarning() << "add" << counter; > }; > addTab(); > > auto removeTab = [tab]() { > tab->removeTab(tab->currentIndex()); > qWarning() << "rem"; > }; > > auto newTab = new QShortcut(QKeySequence::New, tab); > qWarning() << newTab->key(); > newTab->setContext(Qt::ApplicationShortcut); > QObject::connect(newTab, &QShortcut::activated, tab, addTab); > > auto closeTab = new QShortcut(QKeySequence::Close, tab); > qWarning() << closeTab->key(); > closeTab->setContext(Qt::ApplicationShortcut); > QObject::connect(closeTab, &QShortcut::activated, tab, removeTab); > > window.resize(600, 400); > window.show(); > > QObject::connect(window.windowHandle(), &QWindow::heightChanged, > &window, [&](int height) { > qWarning() << "height changed:" << height; > }); > > if (app.arguments().contains("--auto")) { > auto timer = new QTimer(tab); > timer->setInterval(100); > QObject::connect(timer, &QTimer::timeout, &app, [&]() { > static int i = 0; > if ((i % 2) == 0) > removeTab(); > else > addTab(); > ++i; > }); > timer->start(); > } > > return app.exec(); > } > ``` > > Example output when run: > > ``` > ./tab --auto > 0.000 warning: main(int, > char**):: 0.000 warning: main[/home/milian/projects/bugs/tab/tab.cpp:35]: > QKeySequence("Ctrl+N") > 0.000 warning: main[/home/milian/projects/bugs/tab/tab.cpp:40]: > QKeySequence("Ctrl+W") > 0.040 warning: main(int, > char**):: 399 > 0.111 warning: main(int, > char**):: 0.207 warning: main(int, > char**):: 0.210 warning: main(int, > char**):: 398 > 0.302 warning: main(int, > char**):: 0.305 warning: main(int, > char**):: 397 > 0.397 warning: main(int, > char**):: 0.492 warning: main(int, > char**):: 0.494 warning: main(int, > char**):: 396 > 0.587 warning: main(int, > char**):: 0.590 warning: main(int, > char**):: 395 > 0.686 warning: main(int, > char**):: 0.787 warning: main(int, > char**):: 0.791 warning: main(int, > char**):: 394 > 0.887 warning: main(int, > char**):: 0.890 warning: main(int, > char**):: 393 > 0.987 warning: main(int, > char**):: ``` Is this on wayland or X11? Which version are you on? Can you try reproducing this on plasma 6, if possible? Thanks! -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 477700] windows shrink when tabs are added/closed on x11
https://bugs.kde.org/show_bug.cgi?id=477700 fanzhuyi...@gmail.com changed: What|Removed |Added Summary|Terminal shrinks when |windows shrink when tabs |creating new/switching tabs |are added/closed on x11 |on x11 | -- You are receiving this mail because: You are watching all bug changes.