Comments (11)
Interesting, from the backtrace it seems to crash inside the XQueryExtension
while getting the Query font with XLoadQueryFont
in defont_get_text_width
. Pretty surprising this is different between running under KDE Plasma compared to running under other DE's. Have you verified it works without KDE Plasma?
from notion.
Did you build Notion from source or get some package? Which version/package exactly?
from notion.
I've been able to reproduce this with distribution packages
- notion 3+2015061300-2+b1 in Debian
- notion 3+2017050501-1 in Kubuntu cosmic.
The backtrace I attched to this bug comes the Debian package 3+2015061300-2+b1 rebuilt with debugging information enabled, and with stripping and optimization disabled (and with liblua5.2-0-dbg installed)
from notion.
Interesting. I must admit I'm not familiar with KDE at all, so I'd appreciate some help. I'm also running Debian, and installed Plasma and kdm. How do I configure KDE/Plasma to use Notion as a window manager?
from notion.
So what I've been doing is running killall kwin_x11
from a terminal, and then starting notion
from a terminal (typically one of my text terminals, so that I can debug without using my X desktop), however if you really want to replace the window manager by default (when it's not yet known to give you a working desktop), you need to set the KDEWM
environment variable to the path of your window manager's binary. This is typically done by adding a shell script in ~/.config/plasma-workspace/env
.
from notion.
from notion.
Note that once notion
no longer crashes, you probably need a configuration of window hints that's similar to this i3 confguration in order to actually get something usable.
from notion.
OK, so the backtrace is a bit of a red herring, because the error is returned by the X server asynchronously, so the trace doesn't point to the code that performs the 'bad' request, but to the code that observes the error.
It appears notion tries to grab some keys from the keybindings, but those have already been bound (presumably by some KDE component).
Instead of crashing, I think we should report on the bindings that failed to register. In the branch at https://github.com/raboof/notion/pull/new/warnOnBindFailures I changed the kill to a warning, but I haven't figured out a way to report which key couldn't be bound yet.
One obvious 'problem' is that now the Plasma 'Desktop' is displayed as a window. I guess we'd want to bind it to the root window of any non-tiled workspaces instead?
from notion.
That sounds like a good plan.
from notion.
I updated the branch to only log the failures, could you have a look?
from notion.
That works. Now to figure out how to lay out KDE's stuff.
from notion.
Related Issues (20)
- OpenSnitch prompt not nicely positioned
- tiling->unsplit from the context menu crashes notion HOT 9
- compile error - libtu/locale.h:20:10: fatal error: 'libintl.h' file not found HOT 7
- Fresh install startup errors "Could not convert keysym to keycode" HOT 14
- How to change tiled-alt config? HOT 1
- Hide scratchpad when switching window to full-screen HOT 8
- __pthread_tpp_change_priority: Assertion failed HOT 10
- mod_dock: width of the *dock* area HOT 8
- EXTRA_LIBS doesn't work anymore HOT 14
- mod_notionflux: fchmod of socket always fails on FreeBSD HOT 2
- mod_xkb/xkbion: Per-window num/caps/scroll-lock?
- What exactly is mod_mgmtmode? HOT 1
- A more proper fix for the tiling->unsplit bug (#334)
- Strange behavior with Ghidra HOT 3
- Kludges for Gimp dialogs suggestions needed HOT 1
- Layout is not being saved HOT 3
- [notionwm.net] Links to Arch and Nix packages broken HOT 1
- What determines if a look is hidpi? HOT 1
- ioncore.goto_next directionals not really working in floating
- Clients mapped in fullscreen state get additional WGroupCW when switched to windowed state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notion.