| Summary: | Open links in current activity browser instance | ||
|---|---|---|---|
| Product: | [Plasma] plasma-browser-integration | Reporter: | gudvinr+kde |
| Component: | Firefox | Assignee: | Kai Uwe Broulik <kde> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | kde, kishore96, matija, pcjago |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
gudvinr+kde
2020-08-15 10:09:38 UTC
Firefox's "switch to tab" functionality also has this problem - it switches to ANY duplicate tab, which means it can switch activity without warning or without realizing it! (...I typed this from inside the wrong activity without noticing). I have been trying out [activity-aware-firefox](https://gitlab.com/hook/activity-aware-firefox) and although it's rough around the edges, it highlights what we need for an activity aware browser: - When opening the application, the profile of the current activity should start: (Supported by activity-aware-firefox) - This is done by having a separate launcher that reads the current activity and then launches the standard firefox with appropriate profile. - Starting/Stopping the activity should restore the proper profile: (Not supported with activity-aware-firefox) - Because the program being run is still standard firefox, the activity has no way of knowing that it should run the wrapper - A workaround would be to completely wrap the browser as a separate program (probably like [activityfox](https://github.com/LeonidKalichkin/activityfox)). There could be issues with how it interacts with other instances though. If anyone knows something about it, it would be helpful to know. - Ability to open a default profile (Easy hack ontop of activity-aware-firefox) - Ability to open a link from a specific activity/profile: - This is more on the general side of activity, i.e. we need an `open in activity` drop-down context menu option available for all programs. So far I don't think there are any such global menu items, but it should be possible to add it as the context menu display it's controlled by kde. - Running multiple profiles on the same activity (e.g. sharing the window of the default one with all activities) should show different icon groups: (Not supported with activity-aware-firefox) - Probably this can be alleviated if we use a wrapper approach, but also for the wrapper, it needs to somehow distinguish itself even as the executable is the same. As one of the authors of the activity-aware-firefox wrapper/hack, I would also much prefer if this functionality was part of Plasma proper. Happy to assist in this in any way I can. (Warning: I’m not much of a coder, but have lived with this set-up for years now.) |