bugELIM - Bugs: bug #31616, strange notify popups

 
 

bug #31616: strange notify popups

Submitter:  Michael Stevens <mstevens>
Submitted:  Wed 10 Nov 2010 04:03:31 PM UTC
 
Category:  User Interface (garak.el) Severity:  1 - Wish
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  fledermaus
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

( Jump to the original submission )

Thu 11 Nov 2010 01:35:45 PM UTC, comment #6: 

They consciously made a design decision to show messages with actions as one kind of window, with the extra Ok and Cancel buttons, and actionless notices as OSD popups.

That's how they intend it to work: It's not configurable afaict,
so your choices are: live with the extra buttons or live with
an OSD popup (with notify-osd at any rate).

Odd that you are not receiving IM notices, what are your notification settings in garak-*?

Can you install notification-daemon and try that?

You'll need to kill the -osd process before starting the -daemon process but no other trickery should be required.

Vivek Dasmohapatra <fledermaus>
Project Administrator
Thu 11 Nov 2010 10:56:39 AM UTC, comment #5: 

Testing this branch.

Notifications seem to show as 'osd' style messages rather than messagebox windows.

Getting weird "X is known as X" messages.

Don't seem to be getting IM notifications.

Only limited testing though.

Michael Stevens <mstevens>
Project Member
Thu 11 Nov 2010 01:29:08 AM UTC, comment #4: 
Vivek Dasmohapatra <fledermaus>
Project Administrator
Wed 10 Nov 2010 11:33:29 PM UTC, comment #3: 

Apparently the ubuntu team were smoking crack when they
designed their notification implementation:

https://wiki.ubuntu.com/NotifyOSD?rev=143#org.freedesktop.Notifications.Notify

so… the plan was to use actions so that clicking "Ok"
told garak to display the conversation in question,
but ubuntu's notify-osd will insist on:

• displaying an alert instead of a notification
• adding ok and cancel buttons I didn't ask for

I suppose I can detect their implementation and
smack the notification code in the head to stop
it from asking for actions when things smell osd-ish.

Thoughts?

Vivek Dasmohapatra <fledermaus>
Project Administrator
Wed 10 Nov 2010 04:07:25 PM UTC, comment #2: 

stevens@mstevens-desktop:~ % aptitude show notify-osd
Package: notify-osd                     
State: installed
Automatically installed: no
Version: 0.9.29-0ubuntu3
Priority: optional
Section: x11
Maintainer: DX Team <dx-team@lists.ubuntu.com>
Uncompressed Size: 860k
Depends: libatk1.0-0 (>= 1.29.3), libc6 (>= 2.4), libcairo2 (>= 1.4.10), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.78), libgconf2-4 (>= 2.27.0),
         libglib2.0-0 (>= 2.24.0), libgtk2.0-0 (>= 2.18.0), libpango1.0-0 (>= 1.20.0), libpixman-1-0 (>= 0.15.14), libwnck22 (>= 2.22.0), libx11-6
Recommends: notify-osd-icons
Conflicts: alsdorf (< 0.8-0ubuntu2), notify-daemon
Replaces: alsdorf (< 0.8-0ubuntu2), notify-daemon
Provides: notification-daemon
Description: daemon that displays passive pop-up notifications
 The Desktop Notifications framework provides a standard way of doing passive pop-up notifications on the Linux desktop.  These are designed to notify the user
 of something without interrupting their work with a dialog box that they must close.  Passive popups can automatically disappear after a short period of time.
Homepage: https://launchpad.net/notify-osd

Michael Stevens <mstevens>
Project Member
Wed 10 Nov 2010 04:04:15 PM UTC, comment #1: 

Vivek asked for the output of this:

(cdr (assoc
                    '("org.freedesktop.Notifications" .
                    "/org/freedesktop/Notifications") dbus-util-service-cache))

which is this:

(node nil
  (interface
   ((name . "org.freedesktop.DBus.Introspectable"))
   (method
((name . "Introspect"))
(arg
((name . "data")
  (direction . "out")
  (type . "s")))))
  (interface
   ((name . "org.freedesktop.DBus.Properties"))
   (method
((name . "Get"))
(arg
((name . "interface")
  (direction . "in")
  (type . "s")))
(arg
((name . "propname")
  (direction . "in")
  (type . "s")))
(arg
((name . "value")
  (direction . "out")
  (type . "v"))))
   (method
((name . "Set"))
(arg
((name . "interface")
  (direction . "in")
  (type . "s")))
(arg
((name . "propname")
  (direction . "in")
  (type . "s")))
(arg
((name . "value")
  (direction . "in")
  (type . "v"))))
   (method
((name . "GetAll"))
(arg
((name . "interface")
  (direction . "in")
  (type . "s")))
(arg
((name . "props")
  (direction . "out")
  (type . "a{sv}")))))
  (interface
   ((name . "org.freedesktop.Notifications"))
   (method
((name . "GetServerInformation"))
(arg
((name . "return_name")
  (type . "s")
  (direction . "out")))
(arg
((name . "return_vendor")
  (type . "s")
  (direction . "out")))
(arg
((name . "return_version")
  (type . "s")
  (direction . "out")))
(arg
((name . "return_spec_version")
  (type . "s")
  (direction . "out"))))
   (method
((name . "GetCapabilities"))
(arg
((name . "return_caps")
  (type . "as")
  (direction . "out"))))
   (method
((name . "CloseNotification"))
(arg
((name . "id")
  (type . "u")
  (direction . "in"))))
   (method
((name . "Notify"))
(arg
((name . "app_name")
  (type . "s")
  (direction . "in")))
(arg
((name . "id")
  (type . "u")
  (direction . "in")))
(arg
((name . "icon")
  (type . "s")
  (direction . "in")))
(arg
((name . "summary")
  (type . "s")
  (direction . "in")))
(arg
((name . "body")
  (type . "s")
  (direction . "in")))
(arg
((name . "actions")
  (type . "as")
  (direction . "in")))
(arg
((name . "hints")
  (type . "a{sv}")
  (direction . "in")))
(arg
((name . "timeout")
  (type . "i")
  (direction . "in")))
(arg
((name . "return_id")
  (type . "u")
  (direction . "out"))))))

Michael Stevens <mstevens>
Project Member
Wed 10 Nov 2010 04:03:31 PM UTC, original submission:  

Getting notification popups from Garak with three options - ok/cancel/ok.

Running latest git code.

Possible suspect - use of Ubuntu 10.10 and notify-osd.

Michael Stevens <mstevens>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fledermaus (Posted a comment)
  • -email is unavailable- added by mstevens (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-11 fledermaus StatusReady For Test Need Info
    2010-11-11 fledermaus Severity3 - Normal 1 - Wish
        StatusConfirmed Ready For Test
    2010-11-10 fledermaus StatusNone Confirmed
        Assigned toNone fledermaus

    Back to the top


    Powered by Savane 3.9