After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 147419 - D-BUS fullscreen toggle messages
D-BUS fullscreen toggle messages
Status: RESOLVED INCOMPLETE
Product: metacity
Classification: Other
Component: general
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2004-07-12 13:46 UTC by Bryan W Clark
Modified: 2010-02-17 00:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure.in and Makefile.am patches (2.61 KB, patch)
2004-07-12 13:47 UTC, Bryan W Clark
reviewed Details | Review
D-BUS C file (1.87 KB, patch)
2004-07-12 13:48 UTC, Bryan W Clark
reviewed Details | Review
D-BUS Header file (1.27 KB, patch)
2004-07-12 13:48 UTC, Bryan W Clark
reviewed Details | Review

Description Bryan W Clark 2004-07-12 13:46:15 UTC
Attaching a patch to metacity to send D-BUS messages whenever it toggles
fullscreen mode.  The messages are meant to be intercepted by another program
that will apply a policy based on the change to fullscreen.  The policy can be
to turn off the screensaver and other focus stealing programs so that when a
person is watching a movie or giving a presentation in fullscreen they are not
interupted by these applications.

Havoc should have cleaned up versions of these patches, so this is really just a
reminder. ;-)

Along with the D-BUS patches I'm attaching a test python program that
demonstrates the fullscreen mode.
Comment 1 Bryan W Clark 2004-07-12 13:47:29 UTC
Created attachment 29466 [details] [review]
configure.in and Makefile.am patches
Comment 2 Bryan W Clark 2004-07-12 13:48:17 UTC
Created attachment 29467 [details] [review]
D-BUS C file
Comment 3 Bryan W Clark 2004-07-12 13:48:58 UTC
Created attachment 29468 [details] [review]
D-BUS Header file
Comment 4 Bryan W Clark 2004-07-12 18:17:31 UTC
I have an interaction model posted up at my gnome.org address detailing how this
system should work from a user perspective.  here's the link:
http://www.gnome.org/~clarkbw/GNOME/lhf/general/fullscreen/
Comment 5 Rob Adams 2004-10-05 01:14:43 UTC
Since we'll be branching any minute, we ought to take a look at this
Comment 6 Havoc Pennington 2004-10-05 14:41:38 UTC
The dbus part looks reasonable, the one macro-level thing I'd change is that the
fullscreen state should be entered on transition from 0 fullscreen windows to
>0, and left on transition from 1 to 0. i.e. if I fullscreen two windows, then
unfullscreen one, it should not leave fullscreen state. Simply keeping a count
of fullscreen windows in MetaScreen probably handles this? There may be a better
way. 

Also, should we consider whether the fullscreen window has focus; currently, we
let the fullscreen window go below other windows if it loses focus. In that case
we could send the dbus messages on focus in/out events, with invariant that we
send "fullscreen on" on focus in to a fullscreen window, and we send "fullscreen
off" on any focus out if fullscreen is currenlty on. But one problem there is
you may want to stay in fullscreen mode if you focus a dialog opened by a
fullscreen app.
Comment 7 Elijah Newren 2005-10-02 03:57:00 UTC
I'm going to guess that Havoc's comments count as review; if not kick us so that
we can get this in as we're getting close to branching time...again.
Comment 8 Elijah Newren 2006-01-12 23:05:03 UTC
Feature freeze is only a few days away...  Is this bug still relevant?  If so, the time is know to act on it.  :)
Comment 9 Elijah Newren 2006-04-28 03:12:54 UTC
I'll assume that's a 'no, it isn't still relevant', but feel free to reopen and provide any further needed information.  ;-)
Comment 10 Mark Stosberg 2010-02-17 00:44:18 UTC
I'm still interested in the issue. 

Recently I tried a new work style that involved making greater use of fullscreen apps, for the screen real estate. I had no idea that fullscreen disabled notifications, and discovered that I was missing IRC notifications that I expected to get. 

The proposal included a UI that would notify the user that several preferences were changed when entering fullscreen change, and it allowed re-enabling notifications if you wanted them. 

Personally, I think it could get old to see a tooltip each time I enter fullscreen mode, but I think there could at least be a preference option *somewhere* that allows you to choose if you want notifications on during fullscreen mode.