[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


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

2022-05-04 Thread Kai Köhne
Hi,

> Are deferredrenamekERbOS.vbs and deferredrenameQIoNFA.vbs included in the 
> MaintenanceTool package?

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.


Why Kaspersky now starts to complain about it: No idea :/ Anyhow, we had false 
positives about the MaintenanceTool before, the best process to fix it is 
probably to report the false positive to Kaspersky: 
https://support.kaspersky.com/viruses/answers/1870 . Would you like to do that 
(since you still have the temporary files, I assume)?

Regards

Kai

Von: Interest  Im Auftrag von Nibedit Dey
Gesendet: Dienstag, 3. Mai 2022 22:06
An: development@qt-project.org; inter...@qt-project.org
Betreff: [Interest] Issues with latest Qt MaintenanceTool and Kaspersky

Hello Qt Team,

I just ran the updater using the MaintenanceTool. After the update, the 
MaintenanceTool got listed as malware by Kaspersky Anti-Virus and removed from 
the system.
Refer to the screenshot below:
[cid:image001.png@01D85F92.23A1F470]

[cid:image002.png@01D85F92.23A1F470]

I have been using both Qt and KAV together for the last several years without 
any issues.
Are deferredrenamekERbOS.vbs and deferredrenameQIoNFA.vbs included in the 
MaintenanceTool package?
Why suddenly did the anti-virus start listing it as malware? Has anyone else 
observed this?

Thanks & Regards,
Nibedit
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development