[Development] Jira tickets for Qt Print Support (Was: Volunteer wanted: update use of CUPS API)

2022-05-04 Thread Sze Howe Koh
On Mon, 4 May 2020 at 15:19, Lars Knoll  wrote:
>
> > On 4 May 2020, at 09:08, Albert Astals Cid via Development 
> >  wrote:
> >
> > P.S: Someone should really really remove John Layt as printinting mantainer
> > stuff, i don't think he's been around for years.
>
> Agreed. I’ll remove him.
>
> Cheers,
> Lars

All of the printing-related tickets still get auto-assigned to John.
There are lots of recently-opened ones:

https://bugreports.qt.io/browse/QTBUG-101740?jql=project%20%3D%20QTBUG%20AND%20status%20in%20(Reported%2C%20Open)%20AND%20assignee%20in%20(johnlayt)


Regards,
Sze-Howe
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] [Interest] Issues with latest Qt MaintenanceTool and Kaspersky

2022-05-04 Thread Kai Köhne

> -Ursprüngliche Nachricht-
> [...]
> Is there a reason to be using a vbs file ? In windows a running executable
> cannot replace itself, but it can rename itself. [...]

Hi Julien,

I don't know the exact reasons why the .vbs approach was chosen. I now filed 
https://bugreports.qt.io/browse/QTIFW-2625 with your suggestion, maybe the 
Installer Team wants to give it a try 😊

Kai
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] [Interest] Issues with latest Qt MaintenanceTool and Kaspersky

2022-05-04 Thread Julien Cugnière
Le mer. 4 mai 2022 à 08:44, Kai Köhne  a écrit :
> They are not _included_ in the MaintenanceTool package. Anyhow, 
> "deferredrenameXX.vbs”are temporary files the MaintenaceTool.exe writes 
> to schedule an update of itself. That is, because on Windows an executable 
> cannot be replaced when it is running, the MaintenanceTool.exe
>
> Saves the new MaintenanceTool.exe in parallel
> Writes above .vbs file, and starts it
> Stops itself
>
> The .vbs script will then every second try to replace the original .exe file, 
> and – after being successful – restarting the MaintenanceTool.

Hi,

Is there a reason to be using a vbs file ? In windows a running
executable cannot replace itself, but it can rename itself. The way
I've done it in the past is:

* The running executable renames itself.
* It then creates the new executable with the correct name.
* Just before returning from main, it starts the new executable (there
is a short window of time where both the old and new one can be
running, but it doesn't matter if the old one is not using any
resources any more ; if need be, the new one can be given a flag to
wait for the old one to exit).

I find it simpler, and much less likely to trigger an antivirus than a
vbs file :)

-- 
Julien Cugnière
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development