Programming Leftovers
-
GSoC'23 July Report | Further Progress on the Moderation Tools #5
When I sat out to port Dolphin from Phonon to QtMultimedia, I noticed that mouse clicks didn’t reach the event handler that toggled playback. It turns out that in Qt 6, QVideoWidget uses an embedded window for playback. Qt Wayland, unlike the Qt X11 backend, didn’t support the Qt::WindowTransparentForInput flag yet which would have made the video surface click-through. A fix I submitted has just been merged which sets an empty input region on the wl_surface if desired. Another missing workaround Qt applies on X11 is converting text/x-moz-url mime data to an URI list. Firefox uses this proprietary format during drag and drop operations which meant that under Wayland, Qt apps wouldn’t understand links coming from Firefox. On the subject of drag and drop I noticed that KWin wouldn’t send the correct scale factor to drag pixmaps and that QtQuick Item.grabToImage and QQuickDefaultTextureFactory (used when dragging files on the desktop) didn’t actually support high-dpi pixmaps. Fixing all of that is in progress.
-
This Week In Rust: This Week in Rust 507
Hello and welcome to another issue of This Week in Rust!
-
Empowering Python Enums: Exploring Aliases and the @enum.unique Decorator
-
Level Up Python: Customizing and Extending Enumerations
-
Multiple Inheritance in Python: Harnessing the Power of Flexibility
-
Exploring Mixins in Python: A Novel Approach to Multiple Inheritance
-
Python Descriptors Unveiled: A Comprehensive Examination
-
Metaclasses in Python: Beyond the Basics
-
Deciphering Data vs Non-Data Descriptors in Python: A Practical Approach
-
Unlocking Python’s new: A Guide to Object Creation
-
The Python Type Class: A Deep Dive into Dynamic Type Handling