Question about the source code

Nate Graham nate at kde.org
Mon Feb 13 19:01:13 GMT 2023


That's a harder question as the behaviors are a mix of KDE code and Qt 
code. I'd suggest starting in the KDE code and tracing it down the stack.

Nate


On 2/11/23 08:34, rubisetcie wrote:
> Hello Nate, thank you very much for your response!
> 
> As far as I have looked at the Qt source code, there seem to be an 
> obscure flag in /QPlatformTheme/ called "/ContextMenuOnMouseRelease/", 
> which I believe is about this behavior.
> If so, it may be easier to change it than I thought...
> 
> I would like to ask one last question: would you tell me -at the current 
> state of stable Plasma- which of the following behaviors are actually 
> implemented in *KDE* and which are in the *Qt* frameworks?
> 
>   * The desktop / Dolphin selection rectangle when holding left click,
>     to select files, etc.
>   * The drag and drop of files on the desktop / Dolphin.
> 
> Thank you again for your time, I wish you a good continuation for your 
> amazing work.
> 
> Regards,
> Matthieu 'Rubisetcie' Carteron
> 
> Le ven. 10 févr. 2023 à 21:27, Nate Graham <nate at kde.org 
> <mailto:nate at kde.org>> a écrit :
> 
>     Hello Matthieu,
> 
>     This behavior comes from Qt, not any KDE code. You might try looking at
>     the source code for QMenu.
> 
>     Good luck!
> 
>     Nate
> 
> 
>     On 2/10/23 06:00, rubisetcie wrote:
>      > Hello KDE core developer team, I hope you're having a good day.
>      >
>      > I have a question about the KDE source code : I would like to
>     edit the
>      > global *context menu behavior*, to make it appears when you
>     *release*
>      > the right mouse button instead of pressing it.
>      >
>      > This is a tweak I'm trying to make to the whole desktop
>     environment, in
>      > order to make me more comfortable using it (as far as I know,
>      > recompiling a modified source code is the only way to accomplish
>     this)...
>      >
>      > Would you kindly help me figuring out /where exactly this context
>     menu
>      > behavior is handled in the source code/?
>      >
>      > Thank you in advance, I wish you a good continuation for your work.
>      >
>      > Regards,
>      > Matthieu 'Rubisetcie' Carteron
> 


More information about the kde-core-devel mailing list