Cqoicebordel / webslice-plasmoid

Add a slice of web on your desktop. https://www.pling.com/p/998902/
http://www.cqoicebordel.net/webslice-plasmoid/
GNU Affero General Public License v3.0
31 stars 12 forks source link

[Feature request] Convert to icon when webslice plasmoid placed on panel #7

Closed MurzNN closed 6 years ago

MurzNN commented 7 years ago

When I place webslice plasmoid on panel - it stay as small window with web page. But "Web browser" plasmod converts to clickable icon, that shows popup window with web page. Will be good to see same behavior in webslice plasmoid too - optionally (or automatic by widget size) convert to clickable icon.

Cqoicebordel commented 7 years ago

Isn't that the case already ? There is the option "Display a button that open the site in a new panel" in the settings, if I'm not mistaken. Unless I didn't understand your request.

And I won't do it automatically by widget size. I personally use a webpage that displays Gmail mails, and when the page is small, it display only the numbers of unread. Dead useful :) (http://www.cqoicebordel.net/widget-gmail/)

MurzNN commented 7 years ago

If I add webslice to panel, it looks like here: http://i.imgur.com/06buCPX.png And I can't find option "Display a button that open the site in a new panel": http://i.imgur.com/e2pRrWP.png http://i.imgur.com/fszO5GS.png Version is 0.8.1

MurzNN commented 6 years ago

Here is screenshot from KDE 5.13 (from KDE Neon developer iso) where is standard Web Browser plasmoid & Web Slice are added to panel: https://i.imgur.com/WPyHCuf.png So standard Web Browser converted to icon, but Web Slice - not. Can you reproduce this on your side and try to fix?

kupiqu commented 6 years ago

Mmm, I've always used it as an icon

Cqoicebordel commented 6 years ago

Yeah. It's not automatic, you have to change the option I mentioned above ("Display a button that open the site in a new panel") to have it as a button.

MurzNN commented 6 years ago

Yes, manual setting works well, thanks! I forgot about it. But next problem is that popup window have too small size: https://i.imgur.com/SJj5o6i.png Even if I setup min-width=800px in widget settings. Can you review this problem?

MurzNN commented 6 years ago

Also will be good to customize the icon, that shows in panel button, per widget.

Cqoicebordel commented 6 years ago

For the size of the popup, there is another issue filed here about it. I spent some time on it yesterday, and didn't find a solution. For the icon, it might be possible, but I'll have to look for it too.

kupiqu commented 6 years ago

'alt + right click' can help resizing but size restores to default settings after plasma restarts :/

MurzNN commented 6 years ago

About resize there are another issue: https://github.com/Cqoicebordel/webslice-plasmoid/issues/9 This is about convert to icon: feature exits in settings and works, so let's close.

KottV commented 6 years ago

though its closed +1 for custom icon!