Git Product home page Git Product logo

Comments (5)

link2xt avatar link2xt commented on September 22, 2024

Same with river.
Hangs forever.

Version:

$ flameshot -v
Flameshot v12.1.0 (-)
Compiled with Qt 5.15.10

When started as flameshot the only thing printed is:

$ flameshot 
QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)

Running under strace:

...
access("/home/user/.config/flameshot/flameshot.ini", F_OK) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/user/.config/flameshot/flameshot.ini", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd29aad460) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/user/.config/flameshot/flameshot.ini", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd29aad3f0) = -1 ENOENT (No such file or directory)
access("/home/user/.config/flameshot.ini", F_OK) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/user/.config/flameshot.ini", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd29aad460) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/user/.config/flameshot.ini", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd29aad3f0) = -1 ENOENT (No such file or directory)
access("/etc/xdg/flameshot/flameshot.ini", F_OK) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/etc/xdg/flameshot/flameshot.ini", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd29aad460) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/etc/xdg/flameshot/flameshot.ini", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd29aad3f0) = -1 ENOENT (No such file or directory)
access("/etc/xdg/flameshot.ini", F_OK)  = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/etc/xdg/flameshot.ini", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd29aad460) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/etc/xdg/flameshot.ini", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd29aad3f0) = -1 ENOENT (No such file or directory)
brk(0x55c177515000)                     = 0x55c177515000
poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=21, events=POLLIN}], 4, 86399446) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 8)          = 8
poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=21, events=POLLIN}], 4, 86389991) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 8)          = 8
poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=21, events=POLLIN}], 4, 86379988) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 8)          = 8

from flameshot.

link2xt avatar link2xt commented on September 22, 2024

Backtrace from the master branch (3d21e49):

(gdb) bt
#0  0x00007ffff6320f6f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff516c2b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff510c162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff6aead0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff6a9ac04 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ffff6a9c0a3 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00005555555bd870 in main(int, char**) (argc=<optimized out>, argv=0x7fffffffe0b8) at /home/user/src/flameshot/src/main.cpp:161

from flameshot.

link2xt avatar link2xt commented on September 22, 2024

It actually created a tray icon, I had to add "tray" widget to waybar.
So my issue is different.

from flameshot.

link2xt avatar link2xt commented on September 22, 2024

Actually I have started XDG_CURRENT_DESKTOP=Sway flameshot and GUI does not start, I only have a tray icon and nothing happens when I click on menu items.

from flameshot.

Related Issues (20)

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.