itsmejoeeey / eversticky

A Linux open-source sticky note client that syncs to Evernote
https://eversticky.joeeey.com
GNU General Public License v3.0
59 stars 6 forks source link

Bring notes to foreground doesn't work #18

Closed SenseiRat closed 1 year ago

SenseiRat commented 1 year ago

Describe the bug Bring notes to foreground doesn't work. Notes are only accessibly by minimizing all windows to view the desktop. No additional context is given by running Eversticky from the commandline to view stdout and stderr.

To Reproduce Steps to reproduce the behavior:

  1. Click on the Eversticky icon in the status bar
  2. Click on Bring notes to foreground

Expected behavior The sticky notes should come to the foreground and be above any other applications.

Desktop (please complete the following information):

Additional context When running Eversticky from the Command Line, I receive the error Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.. Setting this environment variable and running Eversticky again causes it to crash due to a segmentation fault.

    ~  export QT_QPA_PLATFORM=wayland                                   ✔ 
    ~  env | grep QT                                                    ✔ 
QT_IM_MODULE=ibus
QT_AUTO_SCREEN_SCALE_FACTOR=1
QT_QPA_PLATFORMTHEME=qt5ct
QT_QPA_PLATFORM=wayland
    ~  eversticky                                                       ✔ 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
[2023-05-18T10:54:17] Synchronising notes from Evernote.
[2023-05-18T10:54:18] Found 1 notes.
zsh: segmentation fault (core dumped)  eversticky
SenseiRat commented 1 year ago

Reading through other bug reports, I see that you suggested using QT_QPA_PLATFORM=xcb eversticky and this allows the bring to foreground to work properly.