Comments (16)
Explain the use case please because I can not think how this could be useful
from applet-window-appmenu.
Thanks for your response and excuse me for my bad English.
I request this feature for this widget and title widget and buttons widget.
when this widgets react to last maximized window instead active window then top panel act as titlebar of window that is viewed. Consider this situation
in this situation seems that button title and menu are for Dolphin while they are for TexStudio.
Now if this widget control last Maximized window then button title and menu control Dolphin and in my opinion it is better way.
If you add an option for this I appriciate you.
Thanks in advance
from applet-window-appmenu.
this is not as simple as adding an option for this,
The use case you are describing has consequences that do not take into account the global menu limitations. The global menu infrastructure can show only one app menu at each time and that could be only the active window one or the last active window one if the new active window does not provide any app menu. In multi-screen environment that is a mess.
In your use case how the user could access the TexStudio menu if that feature is implemented? TexStudio is its active application and there is no way to access its menu, that is a mess from user point of view....
So in any case I could accept patches that take into account the above considerations and solve the mentioned issue but I personally wouldnt try to follow that road because it is probably a dead end.
from applet-window-appmenu.
Anyway I appreciate you for these nice widgets.
from applet-window-appmenu.
Is it possible to keep the menu of the last maximized window visible on the view, but right before the buttons receive mouse click events, we send a request to make that window becomes active first, then send the real click event later?
In your use case how the user could access the TexStudio menu if that feature is implemented? TexStudio is its active application and there is no way to access its menu, that is a mess from user point of view....
This is now possible if you use @Zren's Material decoration.
from applet-window-appmenu.
Is it possible to keep the menu of the last maximized window visible on the view, but right before the buttons receive mouse click events, we send a request to make that window becomes active first, then send the real click event later?
Why do you need this trick of events?
from applet-window-appmenu.
Is it possible to keep the menu of the last maximized window visible on the view, but right before the buttons receive mouse click events, we send a request to make that window becomes active first, then send the real click event later?
Why do you need this trick of events?
Because I don't know if you can directly send a click request to a button of the last maximized window, if this window is not the current active one.
from applet-window-appmenu.
Is it possible to keep the menu of the last maximized window visible on the view, but right before the buttons receive mouse click events, we send a request to make that window becomes active first, then send the real click event later?
Why do you need this trick of events?
Because I don't know if you can directly send a click request to a button of the last maximized window, if this window is not the current active one.
Why do you want to send a click request?
from applet-window-appmenu.
Is it possible to keep the menu of the last maximized window visible on the view, but right before the buttons receive mouse click events, we send a request to make that window becomes active first, then send the real click event later?
Why do you need this trick of events?
Because I don't know if you can directly send a click request to a button of the last maximized window, if this window is not the current active one.
Why do you want to send a click request?
The 1st click is to activate the window, the 2nd is to open the menu.
from applet-window-appmenu.
Why dont we talk at telegram? You can find me as psifidotos
from applet-window-appmenu.
This is as a demonstration in which you can imagine Firefox is the Appmenu applet. See I imagine how it works:
https://streamable.com/9fqly8
// sorry I have to sleep now, it's too late here. See you tomorrow. :P
from applet-window-appmenu.
I dont think forwarding click events etc to main window is a good way to do something. Such implementation could be possible under x11 but it couldnt be supported under wayland.
The biggest problem with showing menu for last maximized window is:
- It is difficult to support it also for plasma panels
- If we show appmenu for last maximized window we could end up with no visible appmenu for the active window.
- Providing last maximized window data through Latte it is possible but it should be implemented like LastActiveWindow and this is a bit/a lot of work
from applet-window-appmenu.
Hi. @trmdi.
I use zren Material decoration and no need to menu of last maximized window any more.
from applet-window-appmenu.
I dont think forwarding click events etc to main window is a good way to do something. Such implementation could be possible under x11 but it couldnt be supported under wayland.
The biggest problem with showing menu for last maximized window is:
1. It is difficult to support it also for plasma panels 2. If we show appmenu for last maximized window we could end up with no visible appmenu for the active window. 3. Providing last maximized window data through Latte it is possible but it should be implemented like LastActiveWindow and this is a bit/a lot of work
The menus of all windows are still kept, we can just call it through dbus with the window's serviceName and objectPath... right?
from applet-window-appmenu.
I dont think forwarding click events etc to main window is a good way to do something. Such implementation could be possible under x11 but it couldnt be supported under wayland.
The biggest problem with showing menu for last maximized window is:1. It is difficult to support it also for plasma panels 2. If we show appmenu for last maximized window we could end up with no visible appmenu for the active window. 3. Providing last maximized window data through Latte it is possible but it should be implemented like LastActiveWindow and this is a bit/a lot of work
The menus of all windows are still kept, we can just call it through dbus with the window's serviceName and objectPath... right?
the problem is not to call it, but to keep track of last maximized window history, to know at all times what is the last maximized window.
from applet-window-appmenu.
Hi @trmdi
If you want simulate top desktop panel to act as window titlebar it would be better to simulate titlebar to merge with top panel when maximized. Like this
from applet-window-appmenu.
Related Issues (20)
- Broken HOT 4
- release of compiled versions
- Krita appmenu doesn't show
- [feature]Auto change from full menu to single button when without space in the bar
- Appmenu in plasma panel does not release focus HOT 2
- Every other menu entry is not shown after selecting and sliding over with mouse to next HOT 3
- Possible workarround for unsupported apps?
- Themes are not applied
- error Could Not find KF5 HOT 2
- Application's title bar buttons do not hide when the window is maximized HOT 1
- errors HOT 2
- menu didn't show up for some application HOT 1
- Wont install HOT 3
- Doesn't works for apps placed on the second display
- [Installation Guide] NixOS && FreeBSD HOT 1
- Error when installing HOT 3
- Panel does not disappear when set to "can be covered by windows"
- Installation Error
- installation problem
- Plasma 6 support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applet-window-appmenu.