GithubHelp home page GithubHelp logo

elementary / wingpanel-indicator-session Goto Github PK

View Code? Open in Web Editor NEW
21.0 22.0 11.0 1.67 MB

Wingpanel Session Indicator

License: Other

Vala 94.17% Meson 4.50% CSS 1.33%
wingpanel pantheon gtk gtk3 vala meson hacktoberfest

wingpanel-indicator-session's Issues

Computer suspends right after logging in

Description

When I lock my computer (Super + L) and get back after a while and I type my password to unlock, the computer unlocks, but after 1 second it goes to suspend mode. I need to type any key and unlock again.

It's happening like 2 or 3 times a day... it's not like it is inoperable but it is annoying.

Expected behavior

Type to unlock and not enter hibernate mode

Platform Information

OS: elementary OS
OS Version: 5.1.7 Hera
CPU: Ryzen 5 3500x
Motherboard: ASUS Prime B450M Gaming
RAM: 32GB 3000Mhz
GPU: Radeon RX 580 OC 8GB

  • [ x ] I'm using the latest version from git that I've manually compiled
  • [ x ] I'm using the latest released stable version

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

phpstorm issue after package upgrade

Greetings. after upgrade package wingpanel-indicator-session:amd64 from version 2.2.4+r313+pkg18~ubuntu5.0.1 to 2.2.5+r316+pkg19~ubuntu5.0.1 I faced an issue. phpstorm starts but window is transparent and nothing I can do just close it. package removal solve an issue. Please, would you be so kind, check this point in future releases.

Extra click required after canceling session dialog

If you bring up the logout/shutdown dialog and click cancel, then to open the session indicator main dialog (user list) again you need to click twice. The first click after canceling does not seem to do anything.

Steps to repro:

  1. click the indicator session icon and select shutdown
  2. click cancel on the shutdown dialog
  3. click indicator session icon, nothing happens
  4. click indicator session icon again a second time and it works as expected

Close popover before switching user

If you switch users, then switch back to the original user, the popover is (sometimes?) still open, causing you to click it again when unlocking. Instead, we should ensure the popover is closed before switching users.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Session mouse over crash (libsession.so)

Prerequisites

  • [ X] I have searched open and closed issues for duplicates.

Describe the bug

If I mouse over the session related button on the wing panel (all the way to the right) it freeze and eventually crash

To Reproduce

Mouse over the session button, wingpanel freeze until restart

Logs

syslog

Feb  5 10:21:13 FusionCore nm-applet[1751]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Feb  5 10:21:13 FusionCore nm-applet[1751]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Feb  5 10:21:13 FusionCore nm-applet[1751]: Can't set a parent on widget which has a parent
Feb  5 10:21:40 FusionCore zenity[5382]: GtkDialog mapped without a transient parent. This is discouraged.
Feb  5 10:21:43 FusionCore io.elementary.c[5237]: ProcessWrapper.vala:99: Process 'wingpanel' watch exit
Feb  5 10:21:43 FusionCore io.elementary.c[5237]: ProcessWrapper.vala:111: Process wingpanel is being terminated
Feb  5 10:21:43 FusionCore io.elementary.c[5237]: ProcessWrapper.vala:123: ET = 32.324749 secs#011Min allowed time = 3.500000
Feb  5 10:21:43 FusionCore io.elementary.c[5237]: ProcessWrapper.vala:46: Crash count of 'wingpanel' has been reset
Feb  5 10:21:43 FusionCore gala[1694]: invalid cast from 'CoglTexture2D' to '(null)'

kern.log

Feb  5 10:15:15 FusionCore kernel: [  396.291371] wingpanel[4811]: segfault at 48 ip 0000563c531a5608 sp 00007ffc387a6e60 error 4 in wingpanel[563c5319a000+13000]
Feb  5 10:15:15 FusionCore kernel: [  396.291379] Code: ba ff ff 0f 1f 80 00 00 00 00 48 8d 15 32 3e 00 00 48 8d 35 aa 40 00 00 48 8d 3d b9 2f 00 00 e9 ee ad ff ff 66 0f 1f 44 00 00 <48> 8b 78 48 e8 6f b3 ff ff 48 8b 7b 48 49 89 c4 e8 63 b3 ff ff 4c

Current workaround

I removed the button from wingpanel

cd /usr/lib/x86_64-linux-gnu/wingpanel
sudo mv libsession.so libsession.backup
pkill wingpanel

Platform Information

OS: elementary OS 5.1 Hera
Linux 5.3.0-28-generic
GTK 3.22.30
HW:
Dual-Core Intel® Core™ m7-6Y75 CPU @ 1.20GHz
Intel Corporation HD Graphics 515 (rev 07)
8GB Ram
256 SSD

ACK

Thanks a lot for the great work on elementary definitely my favorite distro <3

color is error

2018-02-17 00-58-30
how to fix the error?
I set it up the menu-have-icons to true,wingpanel select color is white...I can not see the text!!!
Set to false i can not be restored....

Screen locks after switching user

What Happened

With two users logged in simultaneously, use the session indicator to switch to the other user by double clicking on their entry in the popover. The greeter appears and the other users password is entered. The other users screen appears briefly by the screen then locks and goes black. Pressing a key brings up the the greeter again and a second login is required.

This issue is similar to, and may be related to issue #139 but that issue did not mention two users.

Expected Behavior

Switching between two logged in users should only require one password entry.

Steps to Reproduce

  1. Create two users A and B
  2. Log in as A
  3. Double click on entry B in the session indicator
  4. Log in as B
  5. Double click on entry A in the session indicator
  6. Log in as A
  7. Screen goes black after a brief glimpse of A's desktop
  8. Log in as A again - logs in normally

Logs

Platform Information

Elementary 6 daily


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Show shortcut accels

Several actions here have keyboard shortcuts; it could be useful to show the accelerators inline in the menu.

Option to remove "Suspend" button from session menu

An additional option in System Settings -> Power to disable the Suspend button in session menu might be nice for users not using any hibernation or suspend.
If a user sets all suspend/hibernation options to off, he most probably does not need that option in the session menu. Besides, it can also be accidently clicked when user tries to reach the Shut Down button.

Shut down / suspend not working on Dell Inspiron 7437

Installed OS 5.1.4 Hera on a Dell inspiron 7437, specs [here](https://www.notebookcheck.net/Review-Dell-Inspiron-14-7437-Notebook.107896.0.html
(Downloaded iso from elementary main page)
Chose to install elementary as my only OS and made installer format my whole disk with default options

Clicking on the poweroff button and then choosing shutdown or suspend simply does nothing. I have to power off my laptop via command line.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Сам выключился

У меня для моей работы стояло 2 пк и основной выключился сам а второй нет и я потерял все наработки которые очень долго рендрил на своем пк !!! Прошу сделайте так чтобы само ничего не выключалось и нормально после перезагрузки к интернету подключалось иначе если я снова потеряю весь прогресс работы я повешусь


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Add Linter to CI

Update CI process for wingpanel-indicator-session to include a vala-lint step.

Lock screen does not work after logout

Symptoms
Loss the ability to logout, shutdown and lock screen after performing Logout and relogin again.

Procedures

  1. Start up the system.
  2. Login to your account.
  3. From the most right top corner press the shutdown icon in the system tray to get the menu.
  4. From that menu choose Log Out.
  5. Relogin again to get your desktop.
  6. From the menu regarded in 3 try to Lock or to shutdown. The result is no shutdown occurred. The only way to shut down the computer is to use command sudo shutdown now from the terminal. I have to use sudo without sudo it does not work.
said@L850
         eeeeeeeeeeeeeeeee           OS: elementary OS 5.1 hera
      eeeeeeeeeeeeeeeeeeeeeee        Kernel: x86_64 Linux 5.0.0-37-generic
    eeeee  eeeeeeeeeeee   eeeee      Uptime: 1h 42m
  eeee   eeeee       eee     eeee    Packages: 2188
 eeee   eeee          eee     eeee   Shell: bash 4.4.20
eee    eee            eee       eee  Resolution: 2806x900
eee   eee            eee        eee  DE: GNOME 
ee    eee           eeee       eeee  WM: Mutter(Gala)
ee    eee         eeeee      eeeeee  WM Theme: elementary
ee    eee       eeeee      eeeee ee  GTK Theme: elementary [GTK2/3]
eee   eeee   eeeeee      eeeee  eee  Icon Theme: Papirus
eee    eeeeeeeeee     eeeeee    eee  Font: Open Sans 9
 eeeeeeeeeeeeeeeeeeeeeeee    eeeee   CPU: Intel Core i5-2450M @ 4x 3.1GHz [57.0°C]
  eeeeeeee eeeeeeeeeeee      eeee    GPU: AMD/ATI Thames [Radeon HD 7500M/7600M Series]
    eeeee                 eeeee      RAM: 1062MiB / 7933MiB
      eeeeeee         eeeeeee       
         eeeeeeeeeeeeeeeee          

Lock menu item doesn't work under Odin

It seems we need to change the bus interface used from the freedesktop one to the GNOME one as it seems the gsd-screensaver proxy doesn't implement the lock interface.

Add AppData

So that users get clearer updates and issue URLs are available

Suspend option not working

The login panel not taking input from keyboard when session suspended and re-activated/login. Observed this behavior multiple times. Even in sometimes the re-start or shutdown option also not working when session re-activate/login from suspend.

User name displays as (null) in power menu

Username is 'James & Stephanie' and displays as (null) in the wingpanel power menu. Assuming that ampersand (&) breaks this, but will leave that for the developers to confirm.

Wingpanel version below:

~$ apt-cache policy wingpanel
wingpanel:
Installed: 2.3.2+r454+pkg48~ubuntu5.1.5.1

Screenshot attached.
Screenshot from 2020-06-21 16-38-56

CTRL+ALT+DEL does not show logout/shutdown dialog

I get the following error in /var/log/syslog:

Sep 12 13:13:06 zenbird gnome-session[1141]: gnome-session-binary[1141]: WARNING: Unable to open shell end session dialog: GDBus.Error:org.freedesktop.DBus.Error.Failed: io.elementary.wingpanel.session.EndSessionDialog DBus interface is not registered.
Sep 12 13:13:06 zenbird gnome-session-binary[1141]: WARNING: Unable to open shell end session dialog: GDBus.Error:org.freedesktop.DBus.Error.Failed: io.elementary.wingpanel.session.EndSessionDialog DBus interface is not registered.

Wingpanel error with DBus

Prerequisites

  • [ X] I have searched open and closed issues for duplicates.

Describe the bug

When I try to access the wingpanel I got a freeze (debug log of dbus-montior bellow).

P.S: The doc is deprecated https://elementary.io/docs/code/os-dev#wingpanel as it seems that wingpanel is not started by cerbere anymore.

If applicable, add screenshots or screen recordings to help explain your problem.

To Reproduce

Steps to reproduce the behavior:

  1. Access the session menu in wingpanel
    Freeze occur

Expected behavior

It should just open the menu

Screenshots or screen recordings

Logs

Logs from dbus-monitor:

method call time=1586442201.039905 sender=:1.124 -> destination=:1.53 serial=82 path=/org/freedesktop/ScreenSaver; interface=org.freedesktop.DBus.Properties; member=GetAll
string "org.freedesktop.ScreenSaver"
error time=1586442201.040482 sender=:1.53 -> destination=:1.124 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=82

and

method call time=1586442201.044591 sender=:1.124 -> destination=org.freedesktop.DBus serial=86 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
string "org.freedesktop.DisplayManager"
uint32 0
error time=1586442201.044876 sender=org.freedesktop.DBus -> destination=:1.124 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=86

Platform Information

  • I'm using the latest version from git that I've manually compiled
  • [ X] I'm using the latest released stable version

Additional context

I already recompiled a libsession ones where I remove all call to DBus to make it work but this is being broken everytime there is an update to wingpanel.

It must be a fundamental flaw in my dbus session.

Add tooltip to indicator icon

Problem

A tooltip could provide some extra information before clicking or just some quicker information that feels faster to access without clicking at all.

Proposal

Add a tooltip with the status it is indicating, and maybe the middle-click action:

Logged in as Cassidy, 2 other users logged in
Middle-click to prompt to shut down

Prior Art

We added a tooltip to Applications Menu with a longer description and keyboard shortcuts.

Logout DBus interface not registered [$50]

When the logout shortcut is pressed, the following error appears:

Jul 08 14:17:19 HP-Pavilion-Notebook gnome-session[925]: gnome-session-binary[925]: WARNING: Unable to open shell end session dialog: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.gnome.SessionManager.EndSessionDialog' on object at path /org/gnome/SessionManager/EndSessionDialog
Jul 08 14:17:19 HP-Pavilion-Notebook gnome-session-binary[925]: WARNING: Unable to open shell end session dialog: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.gnome.SessionManager.EndSessionDialog' on object at path /org/gnome/SessionManager/EndSessionDialog

Did you help close this issue? Go claim the $50 bounty on Bountysource.

'Lock' menu option doesn't work

On my machine, hitting the 'lock' item in the session indicator doesn't do anything. Manually locking with dm-tool lock works.

Lenovo C460 AiO does not shutdown

Prerequisites

  • I have searched open and closed issues for duplicates.

Describe the bug

System does not shutdown.
It reaches reboot : Power down state and hangs there until forced shutdown with a power button held for couple of seconds.

To Reproduce

Steps to reproduce the behavior:

  1. Login
  2. Do something or do nothing
  3. Shutdown

Expected behavior

Machine should shutdown completely.

Screenshots or screen recordings

IMG_0424

Logs

What logs would be helpful here?

Platform Information

Screenshot from 2020-10-01 00 09 48

  • I'm using the latest version from git that I've manually compiled
  • I'm using the latest released stable version

Additional context

Mostly it does not shutdown, but it does shutdown properly from time to time.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Shutdown should be two words

OK, admittedly this is minor, but I think it will please my fellow grammar pedants out there :)

In the Power menu in the upper-right corner, the label Shutdown should say "Shut Down". Shutdown is the noun form, whereas shut down is an imperative verb which will be more consistent with the other commands in that menu (cf. Log Out).

Thanks!

GDBus Error

Getting this error:

Error: GDBus.Error:org.freedesktop.login1.NoSuchUser: No user 1001 known or logged in

Launchpad Details: #LP1613833 Daniel Fore - 2016-08-16 17:46:43 +0000

Shutdown and Logout dialogue windows are grabbable from the top even though there is not titlebar.

What Happened

Shutdown and Logout dialogue windows are grabbable from the top even though there is no titlebar.

Expected Behavior

Either:
A. It shouldn't be possible to move the dialog windows when a left click is pressed on top of the window.
B. All the dialogue window area should be grabbable.

Steps to Reproduce

1- Press the Power icon on the Wingpanel.
2- Select Logout or Shutdown.
3- Left click on the top of the dialog window and move the mouse.

Platform Information

elementary OS 5.0 Hera.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Adding Silesian translation file

Hi, could you add translation files for Silesian?

ISO 639-3: szl
Plurals: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);

Thank you!

No settings shortcut in session menu

I'm not sure whether that's intended or just an accident, but it was a really useful shortcut as it was much faster than opening up slingshot and searching for "System Settings" in your language.
Please bring it back.

Launchpad Details: #LP1603686 nigdyci - 2016-07-16 19:28:37 +0000

licensing information incorrect in some source files

For Example (maya-calendar):

Running licensecheck on the maya-calendar sources reports that some of the files which include licensing information include the wrong FSF address.

 $ licensecheck -r . | awk -F ": " '{ print $2 }' | sort | uniq -c | sort -gr

    163 No copyright UNKNOWN
    101 UNKNOWN
     38 GPL (v3 or later)
      6 LGPL (v2 or later) (with incorrect FSF address)
      4 No copyright GENERATED FILE
      4 BSD (2 clause)
      3 No copyright GPL (v3 or later)
      2 LGPL (v2.1 or later)

The affected files are:

 $ licensecheck -r . | grep incorrect
  ./core/Backends/Backend.vala: LGPL (v2 or later) (with incorrect FSF address)
  ./core/Backends/BackendsManager.vala: LGPL (v2 or later) (with incorrect FSF address)
  ./core/Backends/LocalBackend.vala: LGPL (v2 or later) (with incorrect FSF address)
  ./core/Backends/PlacementWidget.vala: LGPL (v2 or later) (with incorrect FSF address)
  ./plugins/CalDAV/CalDAVBackend.vala: LGPL (v2 or later) (with incorrect FSF address)
  ./plugins/Google/GoogleBackend.vala: LGPL (v2 or later) (with incorrect FSF address)

Package checkers / linters (for example the compulsory fedora one - rpmlint) complain very verbosely about this.

Launchpad Details: #LP1653413 Fabio Valentini - 2017-01-01 11:16:13 +0000

Popover widget does not show new user

What Happened

Popover widget does not show new user when a new user is added.

screen-capture

Segmentation fault at the end of the gif seems to be a separate issue.

Expected Behavior

Newly added user should be shown in popover widget.

Steps to Reproduce

  1. Add new user from switchboard.
  2. Click session indicator.

Platform Information

eOS6 daily. Master session indicator.

Session Indicator sometimes doesn't logout in elementary OS Juno

In Juno, sometimes the Session Indicator doesn't execute actions like logout. If I run Wingpanel in debug mode, it prints:

file /build/wingpanel-indicator-session-DL5ihj/wingpanel-indicator-session-2.0.3.1+r207+pkg11dailyubuntu18.04.1/src/Widgets/EndSessionDialog.vala: line 134: unexpected error: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Unknown object '/org/freedesktop/login1/user/self'. (g-dbus-error-quark, 41)


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

running findutils adds "nobody" user to indicator

Hi.
Shortly after boot something is triggering a "find" process with a user "nobody". That annoyance, which can significantly slow down my computer, has happened before but recently it begun adding a user "Nobody" in session indicator as logged in user.
I need to logout and login again to remove it.

Cheers.

Session indicator menu displays keyboard shortcuts with inconsistent versions

See screenshot below. I only have a "Windows" keyboard, no idea why it's showing me shortcuts with the Command button as well as the "Windows" ones.

Screenshot from 2020-07-07 11 33 33

This is on elementary OS 5.1.5 Hera

Edit: realised that it locks the screen with Windows key + L. Design flaw then, possibly, since my immediate thought there is "I don't have a Mac keyboard" instead of "oh, so it's the Windows key"?

Define log domain

Problem

It's currently quite hard to debug wingpanel indicators as there are many indicators that add log messages. There isn't a good way to filter this to a specific indicator.

Proposal

We could define log domains:
https://developer.gnome.org/glib/stable/glib-Message-Logging.html#log-domains

This enables filtering log messages using G_MESSAGES_DEBUG, to do do something like the following to only get the logs from a specific indicator and the wingpanel:

G_MESSAGES_DEBUG=io.elementary.wingpanel.bluetooth wingpanel

Prior Art

We've added this to the bluetooth indicator
elementary/wingpanel-indicator-bluetooth#81

Autofocus the prompt to shutdown dialog

Problem

In previous releases of elementaryOS, I can do the following to shut down:

  • Press the power button (which brings up the prompt to shutdown dialog)
  • Press the right direction key on my keyboard
  • Press "Enter" to shut down my laptop.

I noticed now that the prompt is not autofocused when it is brought up, causing the direction key not to be captured by the dialogue.

Not a nuisance, but I think it is something that will help in a very tiny way for those who don't want to reach for their mice to click on "shut down".

Proposal

Autofocus the prompt to shutdown dialogue when it is brought up.

Edits/Updates 31/08/2021:

I have done some tests and noticed the following:

  • If there are no windows opened on the desktop (minimising all applications is also considered not having any windows opened, switching to a blank workspace is also considered not having any windows opened), then on pressing the power button the shutdown prompt is focused.
    • However, if the prompt is closed, and the power button is pressed again, the prompt will not be focused.
  • If there are any windows opened, then the prompt will not be focused when the power button is pressed.
    • The focus stays within the last-focused window.

Lock menu doesn't work

Prerequisites

  • I have searched open issues for duplicates.

Describe the bug

Hitting the 'lock' item in the session indicator doesn't do anything.

To Reproduce

Steps to reproduce the behavior:

  1. Have elementary OS 5.1.6 Hera installed
  2. Click on lock in the session indicator
  3. Nothing happens

Expected behavior

It should lock the Laptop

Screenshots or screen recordings

Screenshot from 2020-07-16 13-34-18

Platform Information

Screenshot from 2020-07-16 13-36-43

  • I'm using the latest version from git that I've manually compiled
  • I'm using the latest released stable version

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.