Names for Windows
-
@Pesala
for example, on screen 1 I have an app in a window and on screen 2 I have 3 Vivaldi windows.
I'm wasting time switching to the right window because I have to see what's on it because Vivaldi still doesn't support naming windows.When will this ever happen?
It's been built into Chrome for years. Why is it taking so long to be integrated into Vivaldi?I don't use Vivaldi for this and other things.
Translated with DeepL.com (free version)
-
@cayenne There are a lot of feature requests. This one is old and popular, but apparently not easy to implement.
Summary of Feature Requests
Category Threads Android 848 Desktop 3,781 Mail, Calendar, and Feeds 644 Automotive 5 Subtotal 5,278 Community 179 Total 5,457 While you wait, try using the Windows Task Bar.
-
I certainly won't argue that there are a lot of feature requests, however, the code to implement this already exists in the Vivaldi source code since it's Chromium based.
I know enough C++ to read (aka fumble) through code, but not enough to write anything, otherwise I would give it a go. Hopefully I am on track here and a Vivaldi dev sees this and can check this request off the list easily.
I was using the source for Vivaldi version
6.8.3381
for my detective work.See the file
<vivaldi-source-folder>/chromium/chrome/common/chrome_switches.cc
, and search it for--window-name
. That is the Chromium flag to set the window title; I use it all the time from a rofi script to launch Chrome with different profiles and window names.I did a little more poking and found a function in
<vivaldi-source-folder>/base/vivaldi_browser_window.cc
. That function isVivaldiBrowserWindow::GetTitle()
, which I believe is getting the page title and then appending the string- Vivaldi
and returning the whole string.Just above that is a function
VivaldiBrowserWindow::UpdateTitleBar()
that is referencing a function by the name ofUpdateWindowTitle()
. I believe that is the function that needs to be changed, but that appears quite a few times in the source. I think it's origin is in<vivaldi-source-folder>/chromium/ui/views/bubble/bubble_frame_view.cc
, but I could be wrong. Regardless of where it is, to mimic Chromium, it would be a simple if/else. Something like:# Pseduo code: if --window-name value != '' window title == --window-name value else window title == page title + " - Vivaldi"
Anyway, I'm just trying to be helpful as I would like this feature too!
Thanks!
-
Joining the request with an addition: it would be really nice if the window name was the name of the currently selected workspace, instead of the currently selected website.
I have 2-4 windows open at all times, and each workspace has a lot of tabs, because of backlogs, and sometimes other stuff. If I open a forum while slacking off, I would like the window to still be "reading" or "german class" instead of the forum, which may or may not be open in other windows/workspaces as well.
-
Displaying the workspace name would be a step in the right direction. I imagine that would easier to implement due to the way Vivaldi treats windows. It seems Vivaldi treats windows as quasi-transient containers, so if you named a window "Shopping", then changed the workspace on that window to "Home", you'd likely want the label on the Window to be "Home". But would the tabs you had open before you switched to a workspace still be associated with the "Shopping" label? Then they would be sort of an ad-hoc workspace. I don't know what Vivaldi calls these tab groups.
So I think this can be implemented in two steps:
- When on a workspace, use workspace name for window
- Allow naming of the group of tabs open in a window that are not associated with a workspace.
But the lack of this feature is a major issue. I find I can really only have one or two Vivaldi windows or my productivity plummets, so I end up having to use other browsers for actual browsing and Vivaldi for things that don't change much.