Re: [Interest] Window ID of the current screen (root window)?

2020-11-19 Thread Volker Hilsheimer
> On 20 Nov 2020, at 03:42, mirabilos wrote: > > On Thu, 19 Nov 2020, Thiago Macieira wrote: > >> Then pass nothing. > > That reportedly causes problems with kwallet. > >> If the application is run non-interactively and possibly >> without GUI, then it doesn't have access window IDs. > > It

Re: [Interest] Qt Bluetooth Low Energy set a maximum MTU

2020-11-19 Thread Alex Blasche
Hi Simon What I meant is that if you *request* a certain max MTU size of 240 bytes, the other side might still reject it by responding with an even smaller MTU size response. It's the difference between "set" and "request". Having said all that I can see where the ability of requesting 240 migh

Re: [Interest] Window ID of the current screen (root window)?

2020-11-19 Thread mirabilos
On Thu, 19 Nov 2020, Thiago Macieira wrote: > Then pass nothing. That reportedly causes problems with kwallet. > If the application is run non-interactively and possibly > without GUI, then it doesn't have access window IDs. It does run with a GUI, but the only UI elements it has are those ren

Re: [Interest] Window ID of the current screen (root window)?

2020-11-19 Thread Thiago Macieira
On Thursday, 19 November 2020 15:08:32 PST mirabilos wrote: > Background: a valid window ID is needed to open the KDE Wallet, > and since this is about a command-line program there’s no widget > I could ask for its window ID. The program is run in terminal or > even nōn-interactively (from session

[Interest] Window ID of the current screen (root window)?

2020-11-19 Thread mirabilos
Hi, apparently, using… QApplication::desktop()->screen()->winId() … is deprecated, but what can I use to replace this? Background: a valid window ID is needed to open the KDE Wallet, and since this is about a command-line program there’s no widget I could ask for its window ID. The prog

Re: [Interest] Qt Bluetooth Low Energy set a maximum MTU

2020-11-19 Thread Simon FEUTRIER
Hi Alex, Thank you for your reply. I'm a bit lost. It means you can never say : "for this exchange I want only packets of size 50 because it is relevant for my use case" ? Simon Le jeu. 19 nov. 2020 à 16:53, Alex Blasche a écrit : > Hi Simon, > > there is no way to force a certain MTU size vi

Re: [Interest] Qt Bluetooth Low Energy set a maximum MTU

2020-11-19 Thread Alex Blasche
Hi Simon, there is no way to force a certain MTU size via the QT API. AFAIR you cannot force it anyway as both sides can make requests but not demands. -- Alex From: Interest on behalf of Simon FEUTRIER Sent: Thursday, 19 November 2020 09:09 To: Qt In

[Interest] Qt Bluetooth Low Energy set a maximum MTU

2020-11-19 Thread Simon FEUTRIER
Hello, Do you know if it is possible to set the MTU from the Qt side ? I am receiving bluetooth messages of size between 240 and 244 (max payload) (by notify). I would like to receive only messages of size 240. Is this possible ? Best regards, Simon __