[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-05-27 Thread Alexander Lohnau
https://bugs.kde.org/show_bug.cgi?id=452593

Alexander Lohnau  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/knewstuff/commit/b63
   ||4b65dd081746ccb8bdfa9bf2d87
   ||8d13e2c0fb
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Alexander Lohnau  ---
Git commit b634b65dd081746ccb8bdfa9bf2d878d13e2c0fb by Alexander Lohnau.
Committed on 24/05/2022 at 10:58.
Pushed by alex into branch 'master'.

Fix QtQuickDialogWrapper dialog not being usable in konsole

Patch provided by David Edmundson.

```
Issue is  QGuiApplicationPrivate::showModalWindow

it marks every other non-modal window as blocked, including new windows.

when we focus the new dialog at a wayland/X level Qt gets it, but in it's own
internal dispatching ignores that and sends it to the modal window

Qt is smart enough to handle child windows appropriately, but only if it knows
about them. Having a transient parent should take care of this. We should have
this anyway as that will fix some window placement bugs.
```

M  +7-0src/qtquickdialogwrapper.cpp

https://invent.kde.org/frameworks/knewstuff/commit/b634b65dd081746ccb8bdfa9bf2d878d13e2c0fb

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-05-24 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=452593

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-05-24 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=452593

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #10 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/knewstuff/-/merge_requests/186

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-05-22 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=452593

Patrick Silva  changed:

   What|Removed |Added

 CC||felix@web.de

--- Comment #9 from Patrick Silva  ---
*** Bug 454187 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-05-22 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=452593

Patrick Silva  changed:

   What|Removed |Added

 CC||duckrin...@gmail.com

--- Comment #8 from Patrick Silva  ---
*** Bug 454224 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-05-22 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=452593

--- Comment #7 from David Edmundson  ---
Issue is  QGuiApplicationPrivate::showModalWindow

it marks every other non-modal window as blocked, including new windows.

when we focus the new dialog at a wayland/X level Qt gets it, but in it's own
internal dispatching ignores that and sends it to the modal window

Qt is smart enough to handle child windows appropriately, but only if it knows
about them. Having a transient parent should take care of this. We should have
this anyway as that will fix some window placement bugs.

Lazy fix:

diff --git a/src/qtquickdialogwrapper.cpp b/src/qtquickdialogwrapper.cpp

--- a/src/qtquickdialogwrapper.cpp
+++ b/src/qtquickdialogwrapper.cpp
@@ -11,6 +11,8 @@
+#include 
+#include 

 #include 

@@ -82,7 +84,13 @@ void QtQuickDialogWrapper::open()
 {
 if (d->item) {
 d->changedEntries.clear();
+
+// unsafe Hack
+auto win = qobject_cast(d->item);
+win->setTransientParent(QGuiApplication::focusWindow());;
+// hack end
+
 }
 }

Should introduce a setTransientParent public API call? Or take the window in
the ctor? Relying on the current focus is a bit horrible.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-05-21 Thread postix
https://bugs.kde.org/show_bug.cgi?id=452593

postix  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-05-20 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=452593

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-05-20 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=452593

Ahmad Samir  changed:

   What|Removed |Added

 CC||vic...@netc.it

--- Comment #6 from Ahmad Samir  ---
*** Bug 454088 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-04-23 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=452593

--- Comment #5 from Ahmad Samir  ---
It looks like the KNS dialog is started with exec(), and Konsole's edit profile
dialog is modal; but then closing the edit profile dialog and even the Konsole
window, it looks like the KNS dialog is still bocked.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-04-23 Thread Alexander Lohnau
https://bugs.kde.org/show_bug.cgi?id=452593

Alexander Lohnau  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-04-23 Thread Alexander Lohnau
https://bugs.kde.org/show_bug.cgi?id=452593

--- Comment #4 from Alexander Lohnau  ---
This broke due to the KNS Dialog being it's own window.

I tried to check if gammaray finds sth. interesting, but with it everything
works fine.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-04-23 Thread Alexander Lohnau
https://bugs.kde.org/show_bug.cgi?id=452593

--- Comment #3 from Alexander Lohnau  ---
Can confirm, there is definitely sth. weird going on with the popups here.

>When ran with valgrind it shows that something is referring to uninitialized 
>memory:

That is unrelated to the KNewStuff issues.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-04-23 Thread Alexander Lohnau
https://bugs.kde.org/show_bug.cgi?id=452593

Alexander Lohnau  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-04-21 Thread Wojciech Janota
https://bugs.kde.org/show_bug.cgi?id=452593

--- Comment #2 from Wojciech Janota  ---
(In reply to Wojciech Janota from comment #1)
> I can confirm that happens on my 2 Arch Linux boxes with latest versions
> available in Arch repos

This is the error Konsole gives when built from source (master branch):

file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/OverlaySheet.qml:219:38:
QML FocusScope: Binding loop detected for property "contentItemMaximumWidth"
QCoreApplication::postEvent: Unexpected null receiver
file:///usr/lib/qt/qml/org/kde/kirigami.2/ApplicationItem.qml:151:9: QML
Shortcut: Shortcut: Only binding to one of multiple key bindings associated
with 13. Use 'sequences: [  ]' to bind to all of them.
file:///usr/lib/qt/qml/org/kde/kirigami.2/ApplicationItem.qml:147:9: QML
Shortcut: Shortcut: Only binding to one of multiple key bindings associated
with 14. Use 'sequences: [  ]' to bind to all of them.
file:///usr/lib/qt/qml/org/kde/kirigami.2/AbstractApplicationItem.qml:93:
TypeError: Cannot read property 'position' of null
file:///usr/lib/qt/qml/org/kde/kirigami.2/AbstractApplicationItem.qml:92:
TypeError: Cannot read property 'background' of null

When ran with valgrind it shows that something is referring to uninitialized
memory:

==62328==at 0x7321E6F: ioctl (in /usr/lib/libc.so.6)
==62328==by 0x49BAD99: Konsole::Pty::setWindowSize(int, int) (Pty.cpp:97)
==62328==by 0x49BAA04: Konsole::Pty::init() (Pty.cpp:52)
==62328==by 0x49BA948: Konsole::Pty::Pty(QObject*) (Pty.cpp:37)
==62328==by 0x4A94512: Konsole::Session::openTeletype(int, bool)
(Session.cpp:165)
==62328==by 0x4A9409D: Konsole::Session::Session(QObject*)
(Session.cpp:134)
==62328==by 0x4ABE029:
Konsole::SessionManager::createSession(QExplicitlySharedDataPointer)
(SessionManager.cpp:103)
==62328==by 0x49DEB95:
Konsole::ViewManager::createSession(QExplicitlySharedDataPointer
const&, QString const&) (ViewManager.cpp:493)
==62328==by 0x488809F:
Konsole::MainWindow::createSession(QExplicitlySharedDataPointer,
QString const&) (MainWindow.cpp:504)
==62328==by 0x4879E8D: Konsole::Application::newInstance()
(Application.cpp:191)
==62328==by 0x10E94A: main (main.cpp:228)
==62328==  Address 0x1ffefff6d4 is on thread 1's stack
==62328==  in frame #1, created by Konsole::Pty::setWindowSize(int, int)
(Pty.cpp:85)

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-04-21 Thread Wojciech Janota
https://bugs.kde.org/show_bug.cgi?id=452593

Wojciech Janota  changed:

   What|Removed |Added

 CC||wojci...@janota.ovh

--- Comment #1 from Wojciech Janota  ---
I can confirm that happens on my 2 Arch Linux boxes with latest versions
available in Arch repos

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 452593] The get new button in konsole shows behind the whole app and can't be interacted with searching does nothing

2022-04-14 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=452593

Ahmad Samir  changed:

   What|Removed |Added

 CC||a.samir...@gmail.com,
   ||alexander.loh...@gmx.de

-- 
You are receiving this mail because:
You are watching all bug changes.