ice-wm / icewm

IceWM releases only, see Wiki
https://github.com/ice-wm/icewm/releases
Other
289 stars 16 forks source link

2 suggestions of enhacements for the toolbar and a problem with a dock #136

Closed PPC-scripts closed 1 year ago

PPC-scripts commented 1 year ago

Hi! First of all, many thanks for this almost perfect way to manage the desktop. as it is it's almost as feature rich as most D.E,'s. I have only one issue, and suggestions:

Issue (not a major issue but some times problematic):

Suggestions:

1- I love using the toolbar without displaying window titles, just the icons. I do have that set up, but the way that I know to achieve that is setting up the variable TaskbarButtonWidthDivisor to a certain value. the problem is that the value depends on the available space in the taskbar, If there are too many quick launch icons, or too many items on the system tray, the icons for the currently running windows get either cut on the right side or display "..." after the icon. If it's not too hard to implement, it is possible to have a new setting, something like "TaskbarButtonHideText", to disable titles of windows on the taskbar, without having to adjust manually when the toolbar contents changes too much? 2- Another, probably harder to implement suggestion: I love the system tray resource indicators (I use only a square to present the current network info and another to show RAM/CPU/SWAP usage). Is there any simple way to add an indicator that displays the output of a command, at a given interval? Example: display network id, display battery percentage, display the weather (like "19º sunny", by running wttr on ansi weather, every hour or so, etc).

Many thanks for your hard work!

gijsbers commented 1 year ago
  1. The task button icons-only is asked more often. See bbidulock/icewm#633.
  2. See #86. That is beyond the scope of this icewm forum.
gijsbers commented 1 year ago

See bbidulock/icewm#653.

its-thomas commented 1 year ago

I second the above mentioned IceWM and plank issue (see also https://github.com/bbidulock/icewm/issues/653)

I have just had a look at https://launchpad.net/plank and it seems like, the most recent plank version is dated 2019-08-19.

So I guess, even if I posted this as a bug report to the plank devs as suggested, there won't be a plank update in the foreseeable future ...?

For me personally, that means if there is also no workaround from the side of IceWM, I would need to look for another WM unfortunately ..

Nevertheless, of course, I deeply appreciate all the hard, quality work that flows into the great piece of software that is IceWM! Thanks a lot!

gijsbers commented 1 year ago

You could investigate which other WMs have a similar or dissimilar behavior. Whether those WMs are compositing or not. Whether they are small-memory WMs like IceWM or not.

its-thomas commented 1 year ago

According to this post, JWM does not have the mentioned problem:

I found a little problem that I couldn’t find anywhere: around the dock, for a rectangular area larger around 5 mm, the click of the mouse doesn’t work at all. For example: if I am in Thunderbird and I write a mail, in case I need to push a button in the over mentioned area, nothing works.

This issue does not take place in JWM.

its-thomas commented 1 year ago

To be exact: I was using IceWM version 3.3.1-1 from the debian stable repositories. Any chance this issue might be fixed in the latest 3.4.2 version without anyone being aware of that?

gijsbers commented 1 year ago

Do you by chance run a compositor like picom? It works fine without (in 3.4.2). Also try if the problem persists with jwm+picom.

its-thomas commented 1 year ago

Yes, I am using picom.

Without picom, plank in IceWM version 3.3.1-1 doesn't have the original issue of "partial dead screen", but it has some glitches when trying to start a program via clicking on the corresponding plank icon, which are quite hard on the eyes. Also, I feel like this is not a purely optical issue – clicking through those glitches, some programs won't open although I think they should or they only open when I click multiple times through the glitches ... that is not a pleasant work environment!

In JVM version 2.4.3-1 on the other hand, plank & picom seem to be working fine together. No "partial dead screen", no glitches.

Do you think you might be able to work this one out for plank, picom and IceWM as well?

gijsbers commented 1 year ago

Can you a screendump of the glitches? Or is there a better way to demonstrate this? It may be a picom issue. See https://github.com/bbidulock/icewm/issues/653#issuecomment-1724201563.

its-thomas commented 1 year ago

Have a look at the following screenrecording. This issue exists only without picom, mind you!

gijsbers commented 1 year ago

The flickering you mean? I could understand that if plank first clears the window and then redraws everything. Although here the flickering is severe. A reliable method of drawing to avoid flickering is to use background pixmap to draw to and then set that background as the window background. I haven't experienced such flickering myself. Maybe a weakness in your video driver? Dunno.

its-thomas commented 1 year ago

Yes, the flickering only exists without picom. With picom, there's no flickering, but the "partial dead screen" issue. Humph

gijsbers commented 1 year ago

The thing is that this is the wrong place to make progress. People use icewm and experience a problem and then come here, even though icewm can't or won't do much about it. The flickering is a plank or video problem. The "partial dead screen" is a picom issue. Don't bother me about it.

its-thomas commented 1 year ago

I totally understand & share your point in general!

But in this specific case, my argument would be: If JWM can handle plank and picom without the "partial dead screen" issue while IceWM cannot, then is this really a picom issue?

gijsbers commented 1 year ago

Yes, it is really a picom issue. They refrained from properly considering that some WMs use containers. I pointed you to my 653 comment above. Don't bother me about it.

its-thomas commented 1 year ago

They refrained from properly considering that some WMs use containers. I pointed you to my 653 comment above.

OK. Fair point.

gijsbers commented 1 year ago

plank.doNotManage: 1

its-thomas commented 1 year ago

Thank you so much for your effort. I really appreciate it and I am sure, many other plank-in-IceWM-users as well!