Comments (15)
Also getting this
vfunc_paint extension.js:158:39
JS ERROR: TypeError: Object 0x2c2197673df0 is not a subclass of GObject_Object, it's a GFundamental_Object
[email protected]:158:39
looking for a solution
from drop-down-terminal-x.
Here is the root cause: https://gitlab.gnome.org/GNOME/gjs/-/issues/353
So the SouthBorderEffect is probably not going to work until a fix is released upstream. I'd disable it until further notice.
from drop-down-terminal-x.
#82 fixes the problem for me
from drop-down-terminal-x.
#82 fixes the problem for me
But not fixes the problem for me on 3.38. The immediately extension hangs when opened by hotkey. Then only reboot or relog helps...
from drop-down-terminal-x.
Here is journalctl -a | grep 'terminal-x\|JS-ERROR'
output on Archlinux with #82 applied: https://pastebin.com/GJJCF1eP
Steps:
- Hotkey to activate extension
Notes:
The terminal is present but is not rendered. Its presence is noticeable because the space occupied by it captures mouse events to windows below it. It seems to work as expected (verified by running commands), it's just completely transparent.
The two locations mentionned in the log (lines 120:39 and 733:9) are reproduced below.
115 │ vfunc_paint: function (paintContext) {
116 │ const actor = this.get_actor();
117 │
118 │ if (paintContext.get_framebuffer) {
119 │ const framebuffer = paintContext.get_framebuffer();
·120 │ const coglContext = framebuffer.get_context();
121 │ const alloc = actor.get_allocation_box();
122 │ actor.continue_paint(paintContext);
123 │ let pipeline = new Cogl.Pipeline(coglContext);
124 │ pipeline.set_color(this._color);
125 │ framebuffer.draw_rectangle(pipeline, 0, alloc.get_height(), alloc.get_width(), alloc.get_height() - this._width);
126 │ } else {
127 │ const geom = actor.get_allocation_geometry();
128 │ actor.continue_paint();
129 │ Cogl.set_source_color(this._color);
130 │ Cogl.rectangle(0, geom.height, geom.width, geom.height - this._width);
131 │ }
132 │ }
·733 ~ │ moveActor(this._windowActor, {
734 │ y: this._windowY,
735 │ x: this._windowX,
736 │ onUpdate: Lang.bind(this, this._updateClip),
737 │ scale_y: 1.0,
738 ~ │ duration: this._openingAnimationTimeMillis / 1000.0,
739 │ transition: 'easeOutExpo',
740 │ onComplete: completeOpening
741 │ });
from drop-down-terminal-x.
You are using wayland or x-session?
you could try this solution
from drop-down-terminal-x.
You are using wayland or x-session?
Tried both, both don't work.
you could try this solution
Maybe later...
from drop-down-terminal-x.
Can make the extension work by applying the Tweener => Clutter
changes plus removing the SouthBorderEffect
that is causing those warnings.
(I'd also take a moment to mention that I hate each year more and more Gnome developers for being incompetent asshats at maintaining a semblance of backwards compatibility or of care about anyone but themselves)
from drop-down-terminal-x.
fixed in d6d1a1b, but I need to test it in previous gnome versions before I can publish it.
from drop-down-terminal-x.
Published
from drop-down-terminal-x.
Thanks. Note that GJS fixed the bug in version 1.67.1, so I think only version 1.66.1 is affected. You could re-implement skipping that version for the border. But IMHO I don't see any difference without the border, and less code is better :)
from drop-down-terminal-x.
@bigbn Thanks, but your extension works on GNOME 3.38 only if manually installed from your repo, but I can't install it from extension's web page.
from drop-down-terminal-x.
@bigbn Thanks, but your extension works on GNOME 3.38 only if manually installed from your repo, but I can't install it from extension's web page.
journalctl -a | grep 'terminal-x|JS-ERROR'
from drop-down-terminal-x.
The extension does not work for me on Fedora 33 with wayland.
The log output shows:
Okt 30 10:55:08 work-hp gnome-shell[2196]: JS WARNING: [/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/extension.js 1027]: Requiring Vte but it has 2 versions available; use imports.gi.versions to pick one
Okt 30 10:55:08 work-hp gnome-shell[2196]: JS ERROR: Extension [email protected]: TypeError: gdkDisplay is null
_updateCurrentMonitor@/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/extension.js:546:37
enable@/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/extension.js:271:10
_updateWindowGeometry@/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/extension.js:585:22
throttle/func._throttlingId<@/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/convenience.js:72:10
from drop-down-terminal-x.
Okt 30 10:55:08 work-hp gnome-shell[2196]: JS WARNING: [/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/extension.js 1027]: Requiring Vte but it has 2 versions available; use imports.gi.versions to pick one Okt 30 10:55:08 work-hp gnome-shell[2196]: JS ERROR: Extension [email protected]: TypeError: gdkDisplay is null _updateCurrentMonitor@/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/extension.js:546:37 enable@/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/extension.js:271:10 _updateWindowGeometry@/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/extension.js:585:22 throttle/func._throttlingId<@/home/jbushart/.local/share/gnome-shell/extensions/[email protected]/convenience.js:72:10
I got the same problem on a Gentoo system (gnome-shell 3.36.5 on wayland).
Nasty workaround: Delete the extension under https://extensions.gnome.org and reinstall it there (after the gnome-shell wayland-session is started).
Maybe we have to open a new issue?
from drop-down-terminal-x.
Related Issues (20)
- Keybinding for renaming tabs
- Crashing when using custom colors HOT 5
- open with cutom text/command HOT 1
- Terminal window is incorrectly positioned when animation is enabled HOT 1
- Right-click hides the terminal when "hide on focus out" is enabled
- extention will not launch or display HOT 5
- Animation issue with vertical dual screen configuration
- Open new terminal in current directory feature does not work HOT 3
- Terminal stopped working - missing JS module 'tweener' HOT 2
- URLs should be clickable HOT 1
- close animation even when animations are disabled
- Add custom fonts HOT 5
- Crashes under Wayland HOT 1
- Extra unnecessary Gnome keyboard bindings are created
- Infinte scrolling
- Feature request: background blur support
- Refocus terminal on capture focus pressed
- When full screen mode is activated, hide GNOME toolbars that collide with window. HOT 1
- Add GNOME 40 support, please! And add it to https://extensions.gnome.org/extension/1509/drop-down-terminal-x/ HOT 5
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 drop-down-terminal-x.