Author Topic: how to achieve vertical (left-side) toolbar + HORIZ button text ?  (Read 285 times)

ido

  • Posts: 5
    • View Profile
this old ticket (not mine) describes the issue https://sourceforge.net/p/fluxbox/bugs/1119/

this patch reputedly addresses/fixes the issue https://github.com/fluxbox/fluxbox/commit/00cca1284fb436afd43b0569d56302f7c78e3d8d
and bears a commit message stating
Quote
"A vertically rotated text should be checked against the height of the button, not the width of it.

Fixes #1119 ("Toolbar cannot display full text of workspace/​clock/​windowtitle.")
and, in the release announcement for v1.3.7 https://sourceforge.net/p/fluxbox/mailman/message/33375551/
Minor Bugfixes:
 • Working vertical rotated Tabs and Toolbar

http://fluxbox.org/help/man-fluxbox.php
http://fluxbox.sourceforge.net/docs/newdoc.manpage.php
toolbar.windowLabel
toolbar.button
toolbar.justify
toolbar.font
toolbar.iconbar

session.screen0.tab.rotatevertical: If True, will rotate text on the tab so it is readable on vertically- placed tabs. Once again, use the Configuration/Tab Placement menu.
session.screen0.tab.width
session.screen0.tab.height

 :'(
yowza! Maybe it doozn't dooz what I thunk it dooz?
I've been unable to achieve the desired result.


Meanwhile, this submitted patch is sitting, unused (and likely bitrotted) since 2009:
Quote
https://sourceforge.net/p/fluxbox/patches/147/

This patch adds:
- Menu item "Always horizontal icons" (bool).
- Menu item "Icon size" (int).
- Menu item "Text padding" (int).

It allows to align the windows list horizontally while tollbar aligned vertically.

BTW, here's a bugfix pull request from 2015, sitting unmerged b/c the dev doesn't approve of the title wording. WTF?
https://github.com/fluxbox/fluxbox/pull/20

Before I attempt to merge that "Always horizontal icons" patch, I'm posting this to ask: "am I overlooking something? The functionality aready exists?"

PackRat

  • Posts: 1769
    • View Profile
Re: how to achieve vertical (left-side) toolbar + HORIZ button text ?
« Reply #1 on: March 12, 2017, 02:02:43 PM »
I can't get that functionality working either.

One thing to note though, tabs are different than the iconbar -

these options:

Code: [Select]
session.screen0.tab.rotatevertical: If True, will rotate text on the tab so it is readable on vertically- placed tabs. Once again, use the Configuration/Tab Placement menu.
session.screen0.tab.width
session.screen0.tab.height

relate to window tabs; so if the tabs were positioned on the lesft side of the window, they cold be rotated horizontal and made readable.

these options -

Code: [Select]
toolbar.windowLabel
toolbar.button
toolbar.justify
toolbar.font
toolbar.iconbar

relate to the toolbar/icon bar. As far as I know, those have never had a rotate option should the user want the bar vertical. Probabaly easiest to go with tint2 or some other taskbar for that.

I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

ido

  • Posts: 5
    • View Profile
Re: how to achieve vertical (left-side) toolbar + HORIZ button text ?
« Reply #2 on: March 12, 2017, 05:50:41 PM »
Thanks for the confirmation that rotation of iconbar buttons is currently impossible. The commit mentioning a "fix" so that complete text is displayed, it considered the current rotation (orientation). I suppose I too-hopefully misread its intent. Ah, BTW, that reported issue remains -- I'm seeing the last character getting truncated from button labels (the dev probably didn't consider, and text, a variety of fonts) and for Boldface fonts, quite a few characters are being truncated/hidden. MAYBE the issue only arises when a certain setting (or combination: left / right / center / relative / justify) is specified.

The patch I mentioned in earlier post, it refers to files that no longer exist (like "FbTk/Container.cc") so I'll have to hunt for apropriate places to insert the changes.
Apparently the result would be a new button exposed in the Configure}}Toolbar submenu, enabling toggling of "Always horiz button labels".
Hmm, maybe whoever wrote that didn't think it through ~~ toggling on-demand is sort of pointless, b/c in order to fit the horiz textlabels, need to select a theme that specifies wider (taller?) toolbar.

PackRat

  • Posts: 1769
    • View Profile
Re: how to achieve vertical (left-side) toolbar + HORIZ button text ?
« Reply #3 on: March 13, 2017, 11:47:08 AM »
I wonder if you're just missing a dependency. There may be some package needed to allow for rotated text, but it's not getting installed as a dependency for fluxbox since this feature appears to require a patch. Maybe look into that.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo