Bug 416740 - The "Functions" window was lost.
Summary: The "Functions" window was lost.
Status: REPORTED
Alias: None
Product: kmplot
Classification: Applications
Component: general (show other bugs)
Version: 1.3.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Christoph Feck
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
: 319493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-25 11:47 UTC by Antoni Szabunio
Modified: 2020-03-25 11:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-32213-0.html (1.21 KB, text/html)
2020-01-27 09:33 UTC, Antoni Szabunio
Details
screenshot-kmplot1.jpg (27.23 KB, image/jpeg)
2020-01-27 11:25 UTC, Antoni Szabunio
Details
screenshot-kmplot2.jpg (34.43 KB, image/jpeg)
2020-01-27 11:25 UTC, Antoni Szabunio
Details
attachment-16065-0.html (1.68 KB, text/html)
2020-01-27 13:20 UTC, Antoni Szabunio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antoni Szabunio 2020-01-25 11:47:11 UTC
SUMMARY
After closing the "Functions" window, I can't recover it. Feature editing is not available. Reinstalling KmPlot did not help. I have a Fedora31 system.

STEPS TO REPRODUCE
1. Close the window "Functions"

OBSERVED RESULT
After closing and reopening the application, the "Functions" window is not visible.

EXPECTED RESULT
window is visible.

SOFTWARE/OS VERSIONS
KmPlot 1.3.0
Fedora31 

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2020-01-25 15:18:06 UTC
How did you close the function panel? Please add exact steps.

In the meantime, you should be able to fix the issue by exiting KmPlot, then deleting the "State=xxx" line from the [MainWindow] section in ~/.config/kmplotrc
Comment 2 Antoni Szabunio 2020-01-25 18:17:21 UTC
(In reply to Christoph Feck from comment #1)
> How did you close the function panel? Please add exact steps.
> 
> In the meantime, you should be able to fix the issue by exiting KmPlot, then
> deleting the "State=xxx" line from the [MainWindow] section in
> ~/.config/kmplotrc

Thank you, removing the "State" line has helped.

This window can be accidentally closed:
1. click on the upper right corner - the standalone "& Function" window will appear
2.1. click on the "x" in the upper right corner of this standalone "& Function" window - the window will be closed and lost, the "State =" line will appear in the .config / kmplotrc file
Regards
Antoni
Comment 3 Antoni Szabunio 2020-01-25 18:17:49 UTC
Thank you, removing the "State" line has helped.

This window can be accidentally closed:
1. click on the upper right corner - the standalone "& Function" window 
will appear
2.1. click on the "x" in the upper right corner of this standalone "& 
Function" window - the window will be closed and lost, the "State =" 
line will appear in the .config / kmplotrc file.
Regards
Antoni

W dniu 25.01.2020 o 16:18, Christoph Feck pisze:
> https://bugs.kde.org/show_bug.cgi?id=416740
>
> --- Comment #1 from Christoph Feck <cfeck@kde.org> ---
> How did you close the function panel? Please add exact steps.
>
> In the meantime, you should be able to fix the issue by exiting KmPlot, then
> deleting the "State=xxx" line from the [MainWindow] section in
> ~/.config/kmplotrc
>
Comment 4 Christoph Feck 2020-01-26 03:12:16 UTC
With KWin, there is no "X" Close button on the dragged out function window. Which window manager do you use?
Comment 5 Antoni Szabunio 2020-01-26 11:58:49 UTC
(In reply to Christoph Feck from comment #4)
> With KWin, there is no "X" Close button on the dragged out function window.
> Which window manager do you use?

I have GNOME 3.34.3
Comment 6 Antoni Szabunio 2020-01-26 12:01:06 UTC
GNOME 3.34.3

W dniu 26.01.2020 o 04:12, Christoph Feck pisze:
> https://bugs.kde.org/show_bug.cgi?id=416740
>
> --- Comment #4 from Christoph Feck <cfeck@kde.org> ---
> With KWin, there is no "X" Close button on the dragged out function window.
> Which window manager do you use?
>
Comment 7 Antoni Szabunio 2020-01-27 09:33:45 UTC
Created attachment 125458 [details]
attachment-32213-0.html

Hello,

I see that the same problem is in the "Step" application, with this 
window "& Palette".

Regards

Antoni

W dniu 26.01.2020 o 04:12, Christoph Feck pisze:
> https://bugs.kde.org/show_bug.cgi?id=416740
>
> --- Comment #4 from Christoph Feck <cfeck@kde.org> ---
> With KWin, there is no "X" Close button on the dragged out function window.
> Which window manager do you use?
>
Comment 8 Christoph Feck 2020-01-27 09:51:23 UTC
The problem is that the Gnome window manager shows a close button despite the application requested to not show a close button. That could be a bug in Gnome interpreting the flags, or in Qt setting the flags.

Could you please add a screenshot showing a detached utility window? I wonder if it has decorations with Gnome, and which buttons are shown there.
Comment 9 Antoni Szabunio 2020-01-27 11:25:43 UTC
Created attachment 125460 [details]
screenshot-kmplot1.jpg

Yes, GNOME environment doesn't like KDE applications.

I attach images before and after detached the utility window.


W dniu 27.01.2020 o 10:51, Christoph Feck pisze:
> https://bugs.kde.org/show_bug.cgi?id=416740
>
> --- Comment #8 from Christoph Feck <cfeck@kde.org> ---
> The problem is that the Gnome window manager shows a close button despite the
> application requested to not show a close button. That could be a bug in Gnome
> interpreting the flags, or in Qt setting the flags.
>
> Could you please add a screenshot showing a detached utility window? I wonder
> if it has decorations with Gnome, and which buttons are shown there.
>
Comment 10 Antoni Szabunio 2020-01-27 11:25:44 UTC
Created attachment 125461 [details]
screenshot-kmplot2.jpg
Comment 11 Christoph Feck 2020-01-27 11:54:53 UTC
Ouch, that's bad, because the user thinks that pressing the X button would move the panel back into the main window. I wonder why Qt hides its dock widget title bar, though. Apparently, it checks the window manager capabilities.

I will try to report this issue to Qt developers, and report back if it can be fixed there, or if it needs to be fixed in the Gnome window manager.
Comment 12 Antoni Szabunio 2020-01-27 13:20:33 UTC
Created attachment 125463 [details]
attachment-16065-0.html

Thank you for your help. I think that KmPlot and KAlgebra are very good.
Regards Antoni
W dniu 27.01.2020 o 12:54, Christoph Feck pisze:
> https://bugs.kde.org/show_bug.cgi?id=416740
>
> --- Comment #11 from Christoph Feck <cfeck@kde.org> ---
> Ouch, that's bad, because the user thinks that pressing the X button would move
> the panel back into the main window. I wonder why Qt hides its dock widget
> title bar, though. Apparently, it checks the window manager capabilities.
>
> I will try to report this issue to Qt developers, and report back if it can be
> fixed there, or if it needs to be fixed in the Gnome window manager.
>
Comment 13 Christoph Feck 2020-02-14 16:11:38 UTC
*** Bug 319493 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2020-03-10 12:05:58 UTC
Antonio, which exact GNOME version are you using? Qt developers cannot reproduce this issue with Ubuntu LTS 18.04. Please also install 'wmctrl' and add the output of this Konsole command:

    wmctrl -m
Comment 15 Antoni Szabunio 2020-03-10 22:26:28 UTC
[aszanti@linux-1 ~]$ wmctrl -k on
[aszanti@linux-1 ~]$ wmctrl -m
Name: GNOME Shell
Class: N/A
PID: N/A
Window manager's "showing the desktop" mode: OFF
[aszanti@linux-1 ~]$

FEDORA 31 64bit

GNOME ver: 3.34.4

Antoni


W dniu 10.03.2020 o 13:05, Christoph Feck pisze:
> https://bugs.kde.org/show_bug.cgi?id=416740
>
> Christoph Feck <cfeck@kde.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|REPORTED                    |NEEDSINFO
>           Resolution|---                         |WAITINGFORINFO
>
> --- Comment #14 from Christoph Feck <cfeck@kde.org> ---
> Antonio, which exact GNOME version are you using? Qt developers cannot
> reproduce this issue with Ubuntu LTS 18.04. Please also install 'wmctrl' and
> add the output of this Konsole command:
>
>      wmctrl -m
>
Comment 16 Bug Janitor Service 2020-03-25 04:33:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Christoph Feck 2020-03-25 09:20:35 UTC
Is this a Wayland or an X11 session?
Comment 18 Antoni Szabunio 2020-03-25 11:06:17 UTC
[aszanti@pc-1500 ~]$ echo $XDG_SESSION_TYPE
wayland
[aszanti@pc-1500 ~]$ loginctl show-session $(loginctl | grep $(whoami) | awk '{print $1}') -p Type
Type=wayland
[aszanti@pc-1500 ~]$