Comments (12)
Wow @orpic , that's awesome!
I tested it as well and seems to work. Can you please open a PR so I can merge? 🙏
from gnome-shell-extension-clipboard-indicator.
@orpic Thanks for implementing this!
One issue:
If I delete an entry of the list via keyboard, the very last item of the list is selected instead of the next item on the list. This makes deleting a little bit confusing. Would be awesome if you could fix that!
Ubuntu 23.10
GNOME 45.rc
Wayland
from gnome-shell-extension-clipboard-indicator.
Hi @schlagmichdoch
Thanks for pointing it out, I intended to move the selection to the next item, seems like I missed it while testing.
Let me take a look at it
from gnome-shell-extension-clipboard-indicator.
@orpic please note I am making some change around the area you previously modified so please make sure to merge the latest version.
Also, regarding the bug, maybe look at how the PopupMenu
class is handling a similar scenario? Not sure if it will work but looks relevant:
https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/popupMenu.js?ref_type=heads#L903
from gnome-shell-extension-clipboard-indicator.
Makes sense.
from gnome-shell-extension-clipboard-indicator.
I want to work on this, can you assign it to me?
from gnome-shell-extension-clipboard-indicator.
@orpic thank you for considering contributing!
I would love for you to work on this, but right now the extension is in the process of being migrated to GNOME 45.
This means you would either:
- Have to wait for GNOME 45 to be released before starting to work on it
- If you want to start working on it already, you need to branch off from the
gnome45
branch and test it on a system with GNOME 45.beta (one option is to use GNOME OS Nightly via GNOME Boxes).
Assigning this to you for now. Let me know what you decide.
from gnome-shell-extension-clipboard-indicator.
BTW the relevant place to add this I believe would be here inside the _addEntry
function:
https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator/blob/a59954fb8a8595caeadb16fc255973463674f81d/extension.js#L396C33-L397C33
Probably need to connect to the key-press-event
signal on the actor.
Not 100% sure this will work, would have to try it out.
Feel free to reach out if you need any assistance.
from gnome-shell-extension-clipboard-indicator.
@Tudmotu Thank you for the response!
I will be testing it with GNOME OS Nightly via GNOME Boxes.
As you suggested I will start by connecting the key-press-event
signal on the actor.
If I encounter any challenges or have questions along the way, I'll be sure to reach out for assistance.
Thanks again for your support!
from gnome-shell-extension-clipboard-indicator.
Hi @Tudmotu
I am ready for a PR.
You can see the changes here: Link to changes
- Pressing the Delete key when on a highlighted entry removes the entry
- After the entry is removed the focus shifts to the next item and if empty then to the private mode
Tested it on GNOME OS Nightly ( via GNOME Boxes )
from gnome-shell-extension-clipboard-indicator.
@Tudmotu
Sure, will take care of the merge, also thanks for the headsup will look into PopupMenu
class first.
from gnome-shell-extension-clipboard-indicator.
Hi @Tudmotu
I have created a PR for the bug, can you take a look at it? Link to PR
from gnome-shell-extension-clipboard-indicator.
Related Issues (20)
- [BUG]: Unhandled promise rejection HOT 7
- "Text will be here" is displayed in the tray and nothing happens by clicking on it. HOT 28
- Lag - Delay HOT 5
- Suggestion: make it work as Win+V on windows HOT 2
- [BUG] In-menu keyboard controls do not work HOT 2
- Scroll Bar is Inaccessible To Mouse HOT 1
- shows sensitive information on next and previous entries HOT 3
- Non-Latin characters doesn't work HOT 2
- History clears on screenlock HOT 1
- Feature Request: Paste on Select in Clipboard Indicator HOT 2
- Extension doesn't work any more HOT 7
- Extension makes system borderline unresponsive on GNOME 45 wayland HOT 5
- pinned-on-bottom in a light theme. HOT 1
- The gaps between all menus in the top bar have become larger HOT 2
- [Feature request] Edit entry/clipboard content
- Copied image doesn't show up on list HOT 1
- Request for GNOME 47 Support
- Option to hide images
- icon off-center
- please update gnome-shell-extension-clipboard-indicator to be compatible with gnome 47 HOT 1
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 gnome-shell-extension-clipboard-indicator.