hi guys im having a problem with beshell the global menu something is not displayed and somethings works, for example somenthing works in dolphin but not works on konqueror, and when it works if i close konqueror or dolphin and open it again it no work is not displayed again, but if i open 2-3 dolphin windows more it back to work
gentooo
kde 4.10.2
beshell and bespin compiled from source
Last edit: Samuel Azcona 2013-05-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you'll likely suffer from a manipulation of the menubar visibility in eg. ~/.kde/share/config/dolphinrc
Menubar=disabled
This is not be.shell related but i'm not sure what caused that (happened short term a year ago or so here), so it's very possible that KMainWindow (or whatever stored that back then) misinterprets the "very tiny" menubar caused by XBar as "disabled"
Which bespin revision do you run? (Since if, it's there - not in be.shell)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have the menubar configure to show in the application and also have selected in the fine tune settings "show in the application" befor use beshell im using bespin and xbar in plasma panel without any problem.
my bespin revision its 1616.
at this moment i have the global menu working without any problem but....
for get it work im forced tu use the global menu size to 12px, if i change it to 10, 8, 14 etc etc. the global menu stop working with the same problem, my top panel size its 22px,
but another example if i change the panel size to 23px the 12px font size of the global menu stop working i need to change it to 13px for get the global menu work again, whith other font size not work fine.
so the problem its something with the panel size and the globalmenu size, other information my screen resolution its 1024x768 and im using the infinality font patches.
thanks
Last edit: Samuel Azcona 2013-05-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
for get it work im forced tu use the global menu size to 12px, if i change it to 10, 8, 14 etc etc. the global menu stop working with the same problem, my top panel size its 22px,
Ahh, that's a different issue.
QMenuBar just collapses to an arrow when it believes there isn't sufficient vertical space.
I've so far not figured a way to prevent it from doing so.
For the plasmoid it was (before the QGraphicsProxyWidget was added) required to implement a menubar as qgraphicsitem - where i of course did not add such oversmart nonsense ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, I've seen the arrow that you mention when some application has many menus for show all in the panel.
its not possible make that in the arrow only appear the menus that do not fit on the screen? for example we have various menus file edit tools window help, if windows and help not fit on the screen appear in the arrow but the other in the panel?
and another thing its for example when I change the size of text and this makes the menu disappear, and show the arrow, the arrow is still displayed although the menus of the application in focus are few and can fit in the bar.
attached a screenshot with kopete panel 22px, 13px font, also i change the globalmenu background to black for see the total size of it in the panel
thanks
its not possible make that in the arrow only appear the menus that do not fit on the screen?
Hardly. At least i've not found one.
The problem is that the QMenuBar implementation internally continuously checks the size of all parenting widgets and if one is too short in height, it unconditionally turns into the arrow representation - it's close to impossible to cheat on that.
The only ways to fix that are
a) make the panel high enough (or the menu font and menubar paddings smaller)
b) not use QMenuBar, but implement an own version of QMenuBar from scratch - what i'd preferably avoid.
A "trick" would be to stuff the globalmenu into an own, larger and invisible menu above the visible one, but that's of course equally nasty.
However, i don't like that behavior myself, so as soon as i've an ingenious idea on how to trick QMenuBar to ignore the parenting height, i'll use that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, to control the margins/paddings of the global menubar, have:
.BE--Panel QMenuBar {
padding:0px;
margin:0px;
} / removes padding & margin of the menubar/
.BE--Panel QMenuBar::item {
padding:0px; margin:0px; / removes vertical padding & margin of the menubar items - this is important/
padding-left:4px; padding-right:4px; margin-right:4px; /some spacing between the entries/
}
It should then be possible to make the bar very tight w/o getting the arrow, but not below the font size.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thats help me alot, the truth is not so alarming, it is just to play with the font size, panel, and paddings, once are balanced, the menu works well without any problem.
I have other question related to the panel width but, I'll open another thread to not make off topic in this.
Thanks again
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi guys im having a problem with beshell the global menu something is not displayed and somethings works, for example somenthing works in dolphin but not works on konqueror, and when it works if i close konqueror or dolphin and open it again it no work is not displayed again, but if i open 2-3 dolphin windows more it back to work
gentooo
kde 4.10.2
beshell and bespin compiled from source
Last edit: Samuel Azcona 2013-05-31
you'll likely suffer from a manipulation of the menubar visibility in eg. ~/.kde/share/config/dolphinrc
Menubar=disabled
This is not be.shell related but i'm not sure what caused that (happened short term a year ago or so here), so it's very possible that KMainWindow (or whatever stored that back then) misinterprets the "very tiny" menubar caused by XBar as "disabled"
Which bespin revision do you run? (Since if, it's there - not in be.shell)
hi thomas thanks for your quickly response.
i have the menubar configure to show in the application and also have selected in the fine tune settings "show in the application" befor use beshell im using bespin and xbar in plasma panel without any problem.
my bespin revision its 1616.
at this moment i have the global menu working without any problem but....
for get it work im forced tu use the global menu size to 12px, if i change it to 10, 8, 14 etc etc. the global menu stop working with the same problem, my top panel size its 22px,
but another example if i change the panel size to 23px the 12px font size of the global menu stop working i need to change it to 13px for get the global menu work again, whith other font size not work fine.
so the problem its something with the panel size and the globalmenu size, other information my screen resolution its 1024x768 and im using the infinality font patches.
thanks
Last edit: Samuel Azcona 2013-05-31
for get it work im forced tu use the global menu size to 12px, if i change it to 10, 8, 14 etc etc. the global menu stop working with the same problem, my top panel size its 22px,
Ahh, that's a different issue.
QMenuBar just collapses to an arrow when it believes there isn't sufficient vertical space.
I've so far not figured a way to prevent it from doing so.
For the plasmoid it was (before the QGraphicsProxyWidget was added) required to implement a menubar as qgraphicsitem - where i of course did not add such oversmart nonsense ;-)
Yeah, I've seen the arrow that you mention when some application has many menus for show all in the panel.
its not possible make that in the arrow only appear the menus that do not fit on the screen? for example we have various menus file edit tools window help, if windows and help not fit on the screen appear in the arrow but the other in the panel?
and another thing its for example when I change the size of text and this makes the menu disappear, and show the arrow, the arrow is still displayed although the menus of the application in focus are few and can fit in the bar.
attached a screenshot with kopete panel 22px, 13px font, also i change the globalmenu background to black for see the total size of it in the panel
thanks
Last edit: Samuel Azcona 2013-06-02
its not possible make that in the arrow only appear the menus that do not fit on the screen?
Hardly. At least i've not found one.
The problem is that the QMenuBar implementation internally continuously checks the size of all parenting widgets and if one is too short in height, it unconditionally turns into the arrow representation - it's close to impossible to cheat on that.
The only ways to fix that are
a) make the panel high enough (or the menu font and menubar paddings smaller)
b) not use QMenuBar, but implement an own version of QMenuBar from scratch - what i'd preferably avoid.
A "trick" would be to stuff the globalmenu into an own, larger and invisible menu above the visible one, but that's of course equally nasty.
However, i don't like that behavior myself, so as soon as i've an ingenious idea on how to trick QMenuBar to ignore the parenting height, i'll use that.
Ok, to control the margins/paddings of the global menubar, have:
.BE--Panel QMenuBar {
padding:0px;
margin:0px;
} / removes padding & margin of the menubar/
.BE--Panel QMenuBar::item {
padding:0px; margin:0px; / removes vertical padding & margin of the menubar items - this is important/
padding-left:4px; padding-right:4px; margin-right:4px; /some spacing between the entries/
}
It should then be possible to make the bar very tight w/o getting the arrow, but not below the font size.
Thats help me alot, the truth is not so alarming, it is just to play with the font size, panel, and paddings, once are balanced, the menu works well without any problem.
I have other question related to the panel width but, I'll open another thread to not make off topic in this.
Thanks again