emerinohdz / status-title-bar Goto Github PK
View Code? Open in Web Editor NEWGnome-Shell extension that shows the focused window titlebar in the status panel.
License: Other
Gnome-Shell extension that shows the focused window titlebar in the status panel.
License: Other
When running both Status Title Bar and No Title Bar extensions, the second one does not work correctly (actually stops to reduce title bars for windows).
Would be nice if this aplet show the application menu when clicked.
in applications such as epiphany, some options are inaccessible without this menu.
The extension does not start and show the TypeError.
This issue occurs on Rhythmbox. When Rhythmbox gets focus, left side of my panel becomes two lines, because of Rhythmbox writes a title that has two lines including the info of the track. And this only occurs when I play a radio with Rhythmbox.
Whatever, the main issue is when an application has a title with two lines (or a title includes newline character), left side of panel extends one row. But not the whole panel. It stays at its constant height. I mean the window below the panel isn't affected.
Here is a screenshot : http://img823.imageshack.us/img823/4283/seim048.jpg
When all currently opened windows are closed or minimized, the title of the last focused window remains visible in the top panel even if no windows are shown anymore. I would expect the label to be empty, just like it is the default behaviour of the gnome shell.
Steps to reproduce:
Open a few windows and then close or minimize them one after the other. The title of the last closed or minimized window will remain in gnome's top panel.
My system:
Arch Linux with gnome shell 3.10.3
This behaviour did not occur until I updated from gnome shell 3.8 to 3.10 and therefore also updated the shell extension to the recent version, which is compatible with gnome 3.10. I also tried restarting the shell multiple times, but everything stays the same.
What's wrong?
When trying to install this extension using https://extensions.gnome.org it returns an "Error" message at https://extensions.gnome.org/local/ and extension can't be used
What have you tried?
Automatically detected errors:
Failed to evaluate init function:TypeError: this.statusArea is undefined
Version information:
Shell version / Gnome: 3.4.2
Debian version: 7.5 Wheezy at 64 bits
Kernel Linux 3.2.0-4-amd64
Extension version: 8
Hi, thanks for a great extension!
I noticed that the title displayed in the status bar isn't updated when the window title changes. This happens, for instance, when switching between tabs in Firefox/Chrome.
I tried the current version of the extension under the recently released Gnome shell version 3.12 (on an Arch Linux system) and everything seemed to work fine. Therefore the shell version 3.12 should be officially added to the metadata.json.
Hi again :-)
Just a minor detail: when the title is too long and shortened with an ellipsis, the icon and title text is pushed slightly to the left compared to shorter titles.
The following two screenshots illustrate the behavior:
http://dl.dropbox.com/u/190333/Screenshots/Screenshot-StatusTitleBar.png
http://dl.dropbox.com/u/190333/Screenshots/Screenshot-StatusTitleBar-Ellipsis.png
Nice extension but does not work with Gnome Shell 3.2.1 and probably anything below.
I received a bug report on my extension Activities Configurator that was caused by a conflict with Status Title Bar. You had your way with the Application Menu Button, destroyed it and replaced it. My extension just poked around with the insides of the button. Well no harm, no foul, I was able to workaround the problem and now the two extensions coexist peacefully on GS 3.16.
I am in the process of getting ready for GS 3.18. In 3.17.90 one option in my extension failed. The signal "maximize" is no longer provided by the window manager and "unmaximize" is no longer provided. I had a heck of a time finding a workaround for the loss of the signals in activities-config .
I was able to use new signals "hide-title-preview" for "maximize" and "size-change" for "unmaximize".
I made the substitution of the signals in the Status Title Bar Extension. I haven't examined your code closely or tested it extensively but that seems to fix it for 3.17.91 .
I hope this information is useful.
Regards,
Norman
Some applications like nautilus not stop charging status, it show the loading spin forever, or until I select another app.
Just upgraded to Ubuntu 19.04 and it doesn't work.
Hi.
The extension is so useful, but I have issue with its title: it overwrite the clock in gnome-shell 3.10.4 if you go to the webpage like https://www.youtube.com/watch?v=EgT_us6AsDg in google chrome.
Hope u fix it soon
On Ubuntu 19.04 (GS 3.32.1) window titles of over about 20 characters have a weird issue. For those windows the title shows up truncated until you hover your mouse over it. E.g. let's say a full window title is "Status Title Bar - GNOME Shell Extensions - Mozilla Firefox". When changing to that window initially it shows up as "Status Title Bar - G..." and when you hover the mouse over the title then it changes to the full window title.
Sometimes when coming back after locking the screen the Status Bar will stop working properly. Clicking at it no longer brings out app. menu (or the Quit button for the apps. without custom menus), and changes of title of a focused window no longer update the bar (e.g. switching tabs in Firefox).
I don't see any errors in the system logs or in the Looking Glass.
I'm using the latest git rev as of now (0c2b896), gnome-shell 3.8.4.
As said in title, no problem with functionality, I just don't like my .xsession-error file stuffed with these when I'm trying to find something else there.
I think these errors happen while switching workspaces.
JS ERROR: !!! Exception was: TypeError: win is null
JS ERROR: !!! lineNumber = '334'
JS ERROR: !!! fileName = '"/home/slaweet/.local/share/gnome-shell/extensions/[email protected]/extension.js"'
JS ERROR: !!! stack = '"([object _private_Shell_WindowTracker],[object _private_GLib_ParamSpec])@/home/slaweet/.local/share/gnome-shell/extensions/[email protected]/extension.js:334
"'
JS ERROR: !!! message = '"win is null"'
JS ERROR: !!! Exception was: ReferenceError: SPINNER_ANIMATION_TIME is not defined
JS ERROR: !!! lineNumber = '171'
JS ERROR: !!! fileName = '"/home/slaweet/.local/share/gnome-shell/extensions/[email protected]/extension.js"'
JS ERROR: !!! stack = '"()@/home/slaweet/.local/share/gnome-shell/extensions/[email protected]/extension.js:171
()@/home/slaweet/.local/share/gnome-shell/extensions/[email protected]/extension.js:342
([object _private_Shell_AppSystem],[object _private_Shell_App])@/home/slaweet/.local/share/gnome-shell/extensions/[email protected]/extension.js:285
"'
JS ERROR: !!! message = '"SPINNER_ANIMATION_TIME is not defined"'
JS ERROR: !!! Exception was: TypeError: win is null
JS ERROR: !!! lineNumber = '334'
JS ERROR: !!! fileName = '"/home/slaweet/.local/share/gnome-shell/extensions/[email protected]/extension.js"'
JS ERROR: !!! stack = '"([object _private_Shell_WindowTracker],[object _private_GLib_ParamSpec])@/home/slaweet/.local/share/gnome-shell/extensions/[email protected]/extension.js:334
"'
JS ERROR: !!! message = '"win is null"'
Changing focus (such as alt+tab, alt+`, etc) between windows of the same application does not cause the title in the status bar to update. Unmaximizing and maximizing one of the windows will cause a correct update, as will changing focus to a window of a different application before changing focus to the window of the same application that is not having its' title displayed in the status bar.
Ubuntu 12.10
GNOME Shell 3.6.2
Not sure how bumping to Gulp 4 will affect the project. Currently it does not build on a base Node install.
$ ./node_modules/.bin/gulp -v
CLI version 3.9.1
Local version 3.9.1
$ node -v
v15.7.0
$ ./node_modules/.bin/gulp dist
fs.js:51
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:51:5
at req_ (/home/node/node_modules/natives/index.js:143:24)
at Object.req [as require] (/home/node/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/home/node/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:997:19)
at require (node:internal/modules/cjs/helpers:92:18)
Checking the versions:
$ npm outdated
Package Current Wanted Latest Location Depended by
gulp 3.9.1 3.9.1 4.0.2 node_modules/gulp status-title-bar
gulp-clean 0.2.4 0.2.4 0.4.0 node_modules/gulp-clean status-title-bar
gulp-util 2.2.20 2.2.20 3.0.8 node_modules/gulp-util status-title-bar
gulp-zip 0.3.4 0.3.4 5.0.2 node_modules/gulp-zip status-title-bar
Updating the devDependencies:
$ npm install gulp@latest gulp-clean@latest gulp-util@latest gulp-zip@latest
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
Resulting package.json:
{
"name": "status-title-bar",
"description": "Gnome-Shell extension that shows the focused window titlebar in the status panel.",
"version": "1.0.5",
"devDependencies": {
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"gulp-util": "^3.0.8",
"gulp-zip": "^5.0.2"
}
}
Of course now we're on Gulp 4, so the tasks in the gulpfile have to be updated to new syntax. Anyone got any thoughts on doing this work. Shall I go ahead and see about putting a PR together?
the addon is not compatible with GNOME SHELL in ubuntu 12.04
Title is not showed in the top panel after installing/enabling this extension.
Gnome 3.0
This extension does not support 3.20 according to extensions.gnome.org
Hi, I use this extension and it works very well. The only thing I miss is a tooltip that shows the window name when it is too large to fit the available space in the panel. This is a common feature of many programs and a useful one. Thank you for your efforts.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.