[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-08-27 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

--- Comment #8 from Roke Julian Lockhart Beedell 
<[email protected]> ---
*** Bug 498434 has been marked as a duplicate of this bug. ***

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-08-27 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

Roke Julian Lockhart Beedell <[email protected]> changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||6.4.4
 Status|CONFIRMED   |RESOLVED

--- Comment #7 from Roke Julian Lockhart Beedell 
<[email protected]> ---
(In reply to Roke Julian Lockhart Beedell from comment #6)

This appears to be resolved in plasma-workspace-6.4.4-1.fc42.x86_64. Dunno
which commit, though.

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-03-02 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

--- Comment #6 from Roke Julian Lockhart Beedell 
<[email protected]> ---
(In reply to Roke Julian Lockhart Beedell from comment #0)  
This also affects `KFontView`, per
https://bugzilla.redhat.com/show_bug.cgi?id=2349038#c0.

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-02-28 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

Roke Julian Lockhart Beedell <[email protected]> changed:

   What|Removed |Added

   See Also||https://bugzilla.redhat.com
   ||/show_bug.cgi?id=2349038

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-02-28 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

Roke Julian Lockhart Beedell <[email protected]> changed:

   What|Removed |Added

   See Also||https://bugzilla.redhat.com
   ||/show_bug.cgi?id=2275016

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-02-11 Thread Alex Bikadorov
https://bugs.kde.org/show_bug.cgi?id=485563

--- Comment #5 from Alex Bikadorov  ---
>What did you do to reproduce it in Krusader? Did you just access 
>KEditBookmarks via one of the one of the KDolphinPart-equivalents' toolbars, 
>or does doing something in Krusader's GUI work, too?

I really meant Krusader itself. After it was ported to KF6 it crashed when any
GUI action in the context menu of the toolbar is clicked.
The fix was basically this line:
https://invent.kde.org/utilities/krusader/-/blob/master/app/krusader.cpp?ref_type=heads#L198
(commit 4a0d063a3c3d05f57 in the Krusader repo).

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-02-11 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

Roke Julian Lockhart Beedell <[email protected]> changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-02-11 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

--- Comment #4 from Roke Julian Lockhart Beedell 
<[email protected]> ---
(In reply to Alex Bikadorov from comment #1)

Thanks for the much better analysis than I provided.

> I can reproduce this in keditbookmarks, and in experimental KF6 branch of 
> Krusader.

What did you do to reproduce it in Krusader? Did you just access KEditBookmarks
via one of the one of the KDolphinPart-equivalents' toolbars, or does doing
something in Krusader's GUI work, too?

> Because the docs say that the "ToolBar" flag is not mandatory (and that 
> createGUI() could also be used) I'm moving this to KXMLGui.

I'll set it as CONFIRMED, too. Its counterpart is, as of today.

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-02-04 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

Roke Julian Lockhart Beedell <[email protected]> changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=499505

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-01-23 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

--- Comment #3 from Roke Julian Lockhart Beedell 
<[email protected]> ---
*** Bug 499071 has been marked as a duplicate of this bug. ***

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2025-01-11 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=485563

--- Comment #2 from Roke Julian Lockhart Beedell 
<[email protected]> ---
*** Bug 498433 has been marked as a duplicate of this bug. ***

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

[frameworks-kxmlgui] [Bug 485563] Invoking and dismissing the "Toolbar settings" context menu causes reproducible crash.

2024-07-13 Thread Alex Bikadorov
https://bugs.kde.org/show_bug.cgi?id=485563

Alex Bikadorov  changed:

   What|Removed |Added

Version|24.02.1 |6.3.0
   Assignee|[email protected]   |[email protected]
Product|keditbookmarks  |frameworks-kxmlgui
  Component|general |general
 CC||[email protected]

--- Comment #1 from Alex Bikadorov  ---
I can reproduce this in keditbookmarks
and in experimental KF6 branch of Krusader:

> #0  0x13510434 in QAction::associatedObjects() const () from 
> /usr/lib/libQt6Gui.so.6
> #1  0x1534fff4 in KToolBar::contextMenuEvent(QContextMenuEvent*) () 
> from /usr/lib/libKF6XmlGui.so.6
> #2  0x13b4c322 in QWidget::event(QEvent*) () from 
> /usr/lib/libQt6Widgets.so.6
> #3  0x13afc55c in QApplicationPrivate::notify_helper(QObject*, 
> QEvent*) () from /usr/lib/libQt6Widgets.so.6
> #4  0x13b02f1b in QApplication::notify(QObject*, QEvent*) () from 
> /usr/lib/libQt6Widgets.so.6
> #5  0x12b44e38 in QCoreApplication::notifyInternal2(QObject*, 
> QEvent*) () from /usr/lib/libQt6Core.so.6
> #6  0x13b62175 in ?? () from /usr/lib/libQt6Widgets.so.6
> #7  0x13b636b0 in ?? () from /usr/lib/libQt6Widgets.so.6
> #8  0x13afc55c in QApplicationPrivate::notify_helper(QObject*, 
> QEvent*) () from /usr/lib/libQt6Widgets.so.6
> #9  0x12b44e38 in QCoreApplication::notifyInternal2(QObject*, 
> QEvent*) () from /usr/lib/libQt6Core.so.6
> #10 0x13176cf0 in 
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
>  () from /usr/lib/libQt6Gui.so.6
> #11 0x131e5b44 in 
> QWindowSystemInterface::sendWindowSystemEvents(QFlags)
>  () from /usr/lib/libQt6Gui.so.6
> #12 0x135f9594 in ?? () from /usr/lib/libQt6Gui.so.6
> #13 0x10473a89 in ?? () from /usr/lib/libglib-2.0.so.0
> #14 0x104d59b7 in ?? () from /usr/lib/libglib-2.0.so.0
> #15 0x10472f95 in g_main_context_iteration () from 
> /usr/lib/libglib-2.0.so.0
> #16 0x12da28dd in 
> QEventDispatcherGlib::processEvents(QFlags) () 
> from /usr/lib/libQt6Core.so.6
> #17 0x12b4f10e in 
> QEventLoop::exec(QFlags) () from 
> /usr/lib/libQt6Core.so.6
> #18 0x12b4945d in QCoreApplication::exec() () from 
> /usr/lib/libQt6Core.so.6
> #19 0x5562dbc1 in main (argc=2, argv=0x7fffe038) at 
> {...}/krusader/app/main.cpp:314
> #20 0x12439c88 in ?? () from /usr/lib/libc.so.6
> #21 0x12439d4c in __libc_start_main () from /usr/lib/libc.so.6
> #22 0x555faa75 in _start ()

All actions in the context menu (e.g. "Lock Toolbar Positions") lead to crash.

However, I could fix it in Krusader by replacing
>setXMLFile("krusaderui.rc");
>createGUI(...);
with
>setupGUI(Default, "krusaderui.rc");
and I noticed that setupGUI() must be called with the "ToolBar" flag, otherwise
the very same bug occurs again.

In keditbookmarks
>void KXmlGuiWindow::createGUI(const QString& xmlfile)
is used and I assume that replacing it by
> setupGUI(Defaults, ...)
would fix it here as well.

Because the docs say that the "ToolBar" flag is not mandatory (and that
createGUI() could also be used) I'm moving this to KXMLGui.

KDE Frameworks 6.3.0
Qt 6.7.1

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