From kde-devel Wed May 18 21:59:32 2011 From: Stefan Majewsky Date: Wed, 18 May 2011 21:59:32 +0000 To: kde-devel Subject: Re: Re: Disabling Oxygen's window dragging for specific QWidgets? Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=130575604515389 On Wed, May 18, 2011 at 11:50 PM, Stefan Majewsky wrote: >>> So yes, all applications have to be fixed, not the style. >> >> I would say 29 kdegames say otherwise. > > That's unrelated to the discussion at hand. Thing is, we do not > exactly have any type of spare manpower over at kdegames. *hint hint* Now that I actually think about this consciously: Hugo, might it make sense to disable window grabbing completely for everything that is a QGraphicsView or a KGameCanvas? Their whole widget area contains content, in the game case even a complicated background brush. And I doubt the situation is any different for other applications using QGraphicsView. The view area should be seen by the style as content and be handled just like e.g. QListView would be handled, modulo the difference that QListView probably does The Right Thing™ by default. In other words, I suggest that the _kde_no_window_grab property be added to KGameCanvas code (trunk/KDE/kdegames/libkdegames/kgamecanvas), and that Oxygen be changed such that _kde_no_window_grab behavior is enforced on QGraphicsView-derived widgets, possibly by setting _kde_no_window_grab during polishing. Greetings Stefan >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<