Giter VIP home page Giter VIP logo

wingpanel-indicator-session's Introduction

Wingpanel Session Indicator

Translation status

Screenshot

Building and Installation

You'll need the following dependencies:

libaccountsservice-dev
libgirepository1.0-dev
libglib2.0-dev
libgranite-dev >= 5.3.0
libgtk-3-dev
libhandy-1-dev >= 0.90.0
libwingpanel-dev
meson
valac

Run meson to configure the build environment and then ninja to build

meson build --prefix=/usr
cd build
ninja

To install, use ninja install

sudo ninja install

wingpanel-indicator-session's People

Contributors

bagjunggyu avatar cassidyjames avatar codygarver avatar colindemian avatar comradekingu avatar danirabbit avatar davidmhewitt avatar dennis1248 avatar donadigo avatar elementarybot avatar fabiozaramella avatar hugok79 avatar ihorhordiichuk avatar jaimie85 avatar jendamarek avatar johndumpling avatar lenemter avatar marcin-serwin avatar marcuswichelmann avatar nathanbnm avatar norwayfun avatar p-bo avatar png2378 avatar queeup avatar ryonakano avatar tomiohl avatar volbil avatar weblate avatar welaq avatar yarons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wingpanel-indicator-session's Issues

'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.

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

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.

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          

Shut down / log out options should close applications properly

Hi,
I have noticed that "shut down" or "log out" options do not close nicely the open applications (which would be typically via sending SIGTERM)... it's particularly obvious with firefox which gives an error message after restart.
I am not sure if this behavior is by design but to me, this is not consistent with Elementary's general friendliness to non-geek users.
Thanks, Marc


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

Menu actions don't work after changing password

After changing my password via the user accounts plug (without unlocking it with admin rights), none of the logout/shutdown/restart actions work anymore.

I get the dialog box asking me to confirm, but confirming does nothing. Following error printed in wingpanel's terminal output

GDBus.Error:org.freedesktop.login1.NoUserForPID: Caller does not belong to any logged in user or lingering user

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

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....

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

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.

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.

Add AppData

So that users get clearer updates and issue URLs are available

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!

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.

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

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

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.

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

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.

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"?

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.

End Session Dialog should pull visual focus

Hi all, was chatting with someone in the community slack today and came across a difference between pantheon and gnome that i thought weird to be removed given its purpose.

In terms of the Shutdown dialog (EndSessionDialog), I was wondering why the black overlay that would be placed under the dialog to pull focus to the modal was removed. It aided in bringing focus to the modal that can potentially be a destructive action (as is currently represented by the red accent colour on the shutdown button), as well as increase contrast between the foreground and the background.

It was just something interesting that I noticed, but I wonder if it's something that you'd consider adding to Pantheon. Made a quick mockup as you can see below of the current design vs proposed.

Current vs Proposed:

image

Thanks for your consideration~


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 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.

Handle fail states in Log Out dialog

It looks like there are some fail states that we're handling silently right now. We should give some kind of feedback to the user when for example the session state has not yet reached "running"

Show shortcut accels

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

Indicate restart required

I wonder if we should throw a bubble when a restart is required and maybe append a small label to the shut down item about "Restart required to finish updates" or something

screenshot from 2018-01-09 13 10 19

I guess that doesn't look that great with the bubble in the same position as the one from the notifications indicator. Maybe need to reconsider that position


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!

shutdown or standby show no reaction when using the power menu

Sometimes, when i click on power menu -> standby, nothing happens.
when i click on shutdown, the dialog, asking for shutdown or reboot opens, but after clicking on an options, the dialog disappears, but nothing happens.
At the journal, i found this:
wingpanel[17546]: Indicator.vala:151: Unable to suspend: GDBus.Error:System.Error.ESTALE: Stale file handle

i can reproduce it with the following steps:

  • start E OS
  • login with user A
  • at the power Menu choose user B
  • login with user B
  • at the power Menu choose user A
  • login with User A
  • at the power Menu try to choose User B (you can't choose it anymore)
  • at the power Menu, choose standby Nothing happens an in the journal, there comes the stale file handle message
    temporary workaround?
  • logout user A
  • at the login screen, standby or reboot also will not work
  • enter Password for logged in User B
  • at the power menu, choose standby PC will go into standby

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

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

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

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


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.

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.

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.

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.