miss button on pop up window due to notification server limiation

Bug #1983183 reported by zongtao wang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnotify (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

This issue is related with emacs and ubuntu gnome. In emacs if we eval below code:

(progn (require 'notifications)
(notifications-notify
:title "only show aa bb cc"
:body "d e are missing"
:timeout 10
:urgency :normal
:actions '("a" "aa" "b" "bb" "c" "cc" "d" "dd" "e" "ee")
:on-action (lambda (id key) (message "id: %s key: %s" id key))))

There should be 5 buttons shown on pop up window, "aa", "bb", "cc", "dd", "ee". But it only shows three button "aa", "bb" and "cc", the other two button "dd" and "ee" are missing.
I have issue this bug to emacs https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56834, but they conclude this is notification server limitation, so I suppose I should issue the bug here, hope issue can be solved here.

related information:
lsb_release -rd 1 ↵
Description: Ubuntu 20.04.4 LTS
Release: 20.04

emacs version:
GNU Emacs 28.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-06-24

notification server information:
(notifications-get-server-information);; this code is run from emacs which shows the notification server information.
outout is: ("gnome-shell" "GNOME" "3.36.9" "1.2")

neofetch output:
neofetch 130 ↵
            .-/+oossssoo+/-. wangzongtao@X570
        `:+ssssssssssssssssss+:` ----------------
      -+ssssssssssssssssssyyssss+- OS: Ubuntu 20.04.4 LTS x86_64
    .ossssssssssssssssssdMMMNysssso. Kernel: 5.15.0-41-generic
   /ssssssssssshdmmNNmmyNMMMMhssssss/ Uptime: 5 days, 5 hours, 40 mins
  +ssssssssshmydMMMMMMMNddddyssssssss+ Packages: 3077 (dpkg), 18 (snap)
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Shell: zsh 5.8
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Resolution: 3840x2160
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ DE: GNOME 3.36.9
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM Theme: Adwaita
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Theme: Yaru [GTK2/3]
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Icons: breeze [GTK2/3]
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Terminal: gnome-terminal
  +sssssssssdmydMMMMMMMMddddyssssssss+ CPU: AMD Ryzen 9 3900X (24) @ 3.800GHz
   /ssssssssssshdmNNNNmyNMMMMhssssss/ GPU: NVIDIA 09:00.0 NVIDIA Corporation Device 2204
    .ossssssssssssssssssdMMMNysssso. Memory: 10957MiB / 128728MiB
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.15.0-41.44~20.04.1-generic 5.15.39
Uname: Linux 5.15.0-41-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus.0000.09.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 495.29.05 Thu Sep 30 16:00:29 UTC 2021
 GCC version: gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sat Jul 30 23:21:46 2022
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus:
 nvidia, 495.29.05, 5.13.0-52-generic, x86_64: installed
 nvidia, 495.29.05, 5.15.0-41-generic, x86_64: installed
 virtualbox, 6.1.34, 5.13.0-52-generic, x86_64: installed
 virtualbox, 6.1.34, 5.15.0-41-generic, x86_64: installed
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 NVIDIA Corporation Device [10de:2204] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: NVIDIA Corporation Device [10de:1454]
InstallationDate: Installed on 2021-09-10 (323 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-41-generic root=UUID=b3477788-e165-4b53-9a98-020e67b75d8a ro quiet scsi_mod.scan=sync
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/15/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4002
dmi.board.asset.tag: Default string
dmi.board.name: TUF GAMING X570-PLUS (WI-FI)
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4002:bd06/15/2021:br5.17:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnTUFGAMINGX570-PLUS(WI-FI):rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.107-8ubuntu1~20.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1~20.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx 21.2.6-0ubuntu0.1~20.04.2
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1~20.04.3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
zongtao wang (wztdream) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This is certainly not a xorg bug. My first guess would be libnotify.

affects: xorg (Ubuntu) → libnotify (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.