Bug 272302 - Kst always opens as a maximised window even when initial property is normal/minimised
Summary: Kst always opens as a maximised window even when initial property is normal/m...
Status: RESOLVED WORKSFORME
Alias: None
Product: kst
Classification: Applications
Component: ui (show other bugs)
Version: 2.0.3
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 05:22 UTC by Stuart Gordon
Modified: 2023-01-18 05:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Gordon 2011-05-03 05:22:34 UTC
Version:           2.0.3
OS:                MS Windows

A program is being used to collect the data so it can be plotted real-time by Kst. The data collection software has been written in C++ using MFC (An older piece of our software being modified to meet our needs).

Using the command... (see http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspx for details)
HINSTANCE ShellExecute(HWND hwnd, LPCTSTR lpOperation, LPCTSTR lpFile, LPCTSTR lpParameters, LPCTSTR lpDirectory, INT nShowCmd);

Kst is run with a pre-designed session (.kst) file passed as a parameter and nShowCmd is set to SW_SHOWMINNOACTIVE. This is designed so that Kst opens and minimises to the start bar so the data collection software can be set up before swapping to Kst to view the plot real-time.

But when the function is executed, Kst opens maximised on top of the data collection software every time. The cause was put to Kst as setting a shortcut on the desktop and telling it to open minimised still results in Kst running maximised.

Reproducible: Always

Steps to Reproduce:
Create a shortcut to Kst on the desktop.
Right click the icon then select Properties -> Shortcut -> Run -> Minimized.
Click Apply and close Properties.
Double click the shortcut.

Actual Results:  
Kst opens maximised and is the active window.

Expected Results:  
In the case of reproduction, Kst should open minimised on the start bar and be the active window.

In the case of the details, Kst should open minimised and the data collection software should still be the active window.

OS: Windows 32-Bit

Data collection software: 
- Written in Microsoft Visual C++ 6.0, updated in Microsoft Visual C++ 2010.
- Using MFC libraries
- Saves data in ASCII text files
Comment 1 Andrew Crouthamel 2018-11-05 03:15:17 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-17 05:04:03 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Justin Zobel 2022-12-19 00:13:32 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2023-01-03 05:27:42 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 5 Bug Janitor Service 2023-01-18 05:12:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!