Bug 2187652 - QDesignerFormWindowManagerInterface's createFormWindow function returns an invalid pointer.
Summary: QDesignerFormWindowManagerInterface's createFormWindow function returns an in...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qttools
Version: 39
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-18 10:41 UTC by Giovanni
Modified: 2025-01-11 11:19 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-02 13:10:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
A simple test of the QDesigner API (7.32 KB, application/gzip)
2023-04-18 10:41 UTC, Giovanni
no flags Details

Description Giovanni 2023-04-18 10:41:12 UTC
Created attachment 1957951 [details]
A simple test of the QDesigner API

QDesignerFormWindowManagerInterface's createFormWindow function returns an invalid pointer.

The affected versions are 5.15.9-1 and earlier

This bug can be reproduced outside of Qt Designer by creating a simple program that makes use of the components related to the Designer i.e. the QDesigner and QDesignerComponents libraries

To reproduce the bug:
1) create a program that makes use of the aforementioned libraries as in the attached file
2) verify that it conforms to the Qt manuals
3) Run it. The bug will appear either run normally or through a debugger

On execution, the createFormWindow function returns an invalid pointer

Possible bug explanation: The createFormWindow function returns a pointer to an abstract class, not a real one

The reason why this bug doesn't appear on Qt Designer versions 5 and 6 is unknown to me. As far as I remember this bug has appeared since version 5

Comment 1 Troy Dawson 2023-04-18 13:09:14 UTC
There are no Fedora KDE Modules.
Moving this to qt5-tools, which has qt5-designer.

Comment 2 Fedora Release Engineering 2023-08-16 08:15:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 3 Aoife Moloney 2024-11-08 10:51:34 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Aoife Moloney 2024-11-27 21:11:00 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Giovanni 2024-11-28 09:24:25 UTC
The bug that affects this component of the library is still present in the current version of the Qt library, 6, if used in any program, except Qt Designer which strangely is not affected. I'm using version 41 with the latest updates but this bug has been dragging on since version 5...

Comment 6 Aoife Moloney 2024-12-02 13:10:48 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 7 Giovanni 2025-01-11 11:19:03 UTC
This post regarding my report of a bug in the QDesigner component in the Qt library is the sum of what I have discovered so far. Let me explain: the fundamental problem arises from the documentation provided as it is, apart from a few minimal changes, essentially that of version 4, the version in which this component of the Qt library was introduced. The problem arose with version 5 and later in which changes were introduced that changed the way in which some of its components were accessed.In the official documentation there is no mention of the qdesigner_internal namespace, nor of the PreviewManager class, nor of the QDesignerComponents class which has a fundamental role in the functioning of this component. A note: the presence of an unofficial namespace like qdesigner_internal corrupts, to some extent, the consistency between individual classes. If it were private within a class there would be no problems but this is global and not the only one! What is the role of SharedTools? The documentation of the QDesigner component is incomplete and incorrect and that is why outside of Qt Designer it produces that bug.


Note You need to log in before you can comment on or make changes to this bug.